diff options
author | Ian Romanick <[email protected]> | 2013-10-03 15:21:53 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-10-22 15:23:30 -0700 |
commit | af229c94e357fb4747f108603382168e49b6fd02 (patch) | |
tree | 7eaae3bfb494a717abc49dfcc7d43437b3d1d119 /src/glsl/loop_analysis.h | |
parent | f094a0f825abd261109ee566a760089dd4da64e6 (diff) |
glsl/tests: Verify geometry shader built-ins generated by _mesa_glsl_initialize_variables
Checks that the variables generated meet certain criteria.
- Geometry shader inputs have an explicit location.
- Geometry shader outputs have an explicit location.
- Fragment shader-only varying locations are not used.
- Geometry shader uniforms and system values don't have an explicit
location.
- Geometry shader constants don't have an explicit location and are
read-only.
- No other kinds of geometry variables exist.
It does not verify that an specific variables exist.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.h')
0 files changed, 0 insertions, 0 deletions