Skip to content

st/nir: Lower TES gl_PatchVerticesIn to a constant if linked with a TCS.

Kenneth Graunke requested to merge kwg/mesa:st-tesslower into master

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.

Merge request reports