summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_structure_splitting.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-10-08 23:53:47 -0700
committerKenneth Graunke <[email protected]>2015-10-28 21:14:53 -0700
commit9c8208f2c15445b00ba170ff96a9ea4ce6c083e1 (patch)
tree4f68369b4fcff13a46f65e950f1f160e0a1a924a /src/glsl/opt_structure_splitting.cpp
parentbf05af3f0e8769f417bbd995470dc1b8083a0df9 (diff)
nir: Add intrinsics for tessellation shader system values.
nir_intrinsic_load_patch_vertices_in corresponds to gl_PatchVerticesIn, a special input in both the TCS and TES stages. nir_intrinsic_load_tess_coord corresponds to gl_TessCoord, a special tessellation evaluation shader input. nir_intrinsic_load_tess_level_outer/inner correspond to the gl_TessLevelOuter[] and gl_TessLevelInner[] evaluation shader inputs, which we treat as system values because they're stored specially. (These intrinsics are only for the TES - the TCS uses output variables.) Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/glsl/opt_structure_splitting.cpp')
0 files changed, 0 insertions, 0 deletions