nir: Store PatchInputsRead and PatchOutputsWritten in nir_shader_info.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 9 Oct 2015 22:49:49 +0000 (15:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Nov 2015 09:03:43 +0000 (01:03 -0800)
commitdb54673b54ee7e2c49d5aa6f77d2fff3eed0aa24
tree10a9d9b21f9dbe488bb37b641e4dc2cca5a0b078
parent437d7b611972c52fac32cb54038d3b278f66fd5a
nir: Store PatchInputsRead and PatchOutputsWritten in nir_shader_info.

These tessellation shader related fields need plumbing through NIR.

v2: Use uint32_t instead of uint64_t to match the source type of
    GLbitfield (caught by Iago Toral).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h