diff options
author | Kenneth Graunke <[email protected]> | 2015-01-31 04:31:16 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-02-19 15:15:45 -0800 |
commit | 231267bf011e1fa6edb52ffad27fcbca8e0e28e1 (patch) | |
tree | b2e361019d61eca2245d3b1232f4396f63ade615 /src/glsl | |
parent | a07cd42f1e4739000adbbcf5613ba163cf73b666 (diff) |
i965/fs: Use VARYING_SLOT checks rather than strcmp().
Comparing the location field is equivalent and more efficient.
We'll also need this when we start using NIR for ARB programs, as our
NIR converter will set the location field correctly, but probably won't
use the GLSL names for these concepts.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions