diff options
author | Kenneth Graunke <[email protected]> | 2015-09-23 15:40:33 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-29 14:19:32 -0700 |
commit | 476e6d732f76f1ac1c4560ccade7cbc93f985d09 (patch) | |
tree | a76ae08caf7e20d4bbce5896eb7fa9dbfe768afe /Android.common.mk | |
parent | cb758b892a7e62ff1f6187f2ca9ac543ff70a096 (diff) |
nir: Use a system value for gl_PrimitiveIDIn.
At least on Intel hardware, gl_PrimitiveIDIn comes in as a special part
of the payload rather than a normal input. This is typically what we
use system values for. Dave and Ilia also agree that a system value
would be nicer.
At some point, we should change it at the GLSL IR level as well. But
that requires changing most of the drivers. For now, let's at least
make NIR do the right thing, which is easy.
v2: Add a comment about not creating a temporary (suggested by Iago).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions