commit | 295605c930270a5b90f847b79474507d8b0c9e9c | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Aug 24 11:40:31 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Nov 07 10:37:52 2017 -0800 |
tree | 1ad33ed0da14147d207cb16682fb800a790cf6a0 | |
parent | 6411defdcd6f560e74eaaaf3266f9efbb6dd81da [diff] |
intel/cs: Push subgroup ID instead of base thread ID We're going to want subgroup ID for SPIR-V subgroups eventually anyway. We really only want to push one and calculate the other from it. It makes a bit more sense to push the subgroup ID because it's simpler to calculate and because it's a real API thing. The only advantage to pushing the base thread ID is to avoid a single SHL in the shader. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>