diff options
author | Kenneth Graunke <[email protected]> | 2015-07-28 18:16:37 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-10-26 16:37:07 -0700 |
commit | 8034e7d6f1be3c9c1a9626b64830617ccf000ecc (patch) | |
tree | 0eed5c2ba83b9b0a66d25511c15c18534e85f7e7 /bin/.gitignore | |
parent | 8f84a8e257291168ec4b394b1eaa6acef1538cea (diff) |
glsl: Convert TES gl_PatchVerticesIn into a constant when using a TCS.
When a TCS is present, the TES input gl_PatchVerticesIn is actually a
constant - it's simply the # of output vertices specified by the TCS
layout qualifiers. So, we can replace the system value with a constant,
which may allow further optimization, and will likely be more efficient.
If the TCS is absent, we can't do this optimization.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions