summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_variables.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-18 18:46:09 -0700
committerKenneth Graunke <[email protected]>2019-01-11 13:07:54 -0800
commit2b876bc92260991ad3ad1fd6b38240f6983078e1 (patch)
tree88e8e5179cdc9b55c11f61f79f96fc9fca5f072f /src/compiler/spirv/vtn_variables.c
parent3d182601bb3314513500e39092c48a7126b3278a (diff)
st/nir: Lower TES gl_PatchVerticesIn to a constant if linked with a TCS.
If the TCS and TES are linked together, we can simply replace the TES's gl_PatchVerticesIn system value with a constant, possibly allowing extra optimization or letting the driver avoid uploading a special value. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_variables.c')
0 files changed, 0 insertions, 0 deletions