diff options
author | Kenneth Graunke <[email protected]> | 2015-09-30 17:17:35 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-11-13 15:15:10 -0800 |
commit | 0df452cd0d9da031d2ef29853d39112fdf8e1d46 (patch) | |
tree | aea8152df0cddacab506704f1b823050bab27019 /bin/.gitignore | |
parent | 1cb49eedb52c387caf6a0035e5baad29bb55e3ff (diff) |
nir/lower_io: Use load_per_vertex_input intrinsics for TCS and TES.
Tessellation control shader inputs are an array indexed by the vertex
number, like geometry shader inputs. There aren't per-patch TCS inputs.
Tessellation evaluation shaders have both per-vertex and per-patch
inputs. Per-vertex inputs get the new intrinsics; per-patch inputs
continue to use the ordinary load_input intrinsics, as they already
work like we want them to.
v2: Change stage_uses_per_vertex_inputs into is_per_vertex_input(),
which takes a variable (requested by Jason Ekstrand).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions