diff options
author | Kenneth Graunke <[email protected]> | 2018-07-18 18:46:09 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-01-11 13:07:54 -0800 |
commit | 2b876bc92260991ad3ad1fd6b38240f6983078e1 (patch) | |
tree | 88e8e5179cdc9b55c11f61f79f96fc9fca5f072f /src/compiler/spirv/vtn_variables.c | |
parent | 3d182601bb3314513500e39092c48a7126b3278a (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