summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-03 03:26:28 +0100
committerMarek Olšák <[email protected]>2016-02-21 21:08:57 +0100
commitd995d4830e77d55552972dcc9d64e106f55fdc3f (patch)
tree5ea656a4f5c2c221a3b6ee45f02e1f395fd9f7d0 /src/gallium/drivers/radeonsi/si_shader.h
parentfe1b6ede0134168815527fedbff8ce06cca5a3aa (diff)
radeonsi: compute how many input VGPRs fragment shaders have
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 131455b6d0f..3be24f34391 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -281,6 +281,8 @@ struct si_shader {
ubyte num_input_sgprs;
ubyte num_input_vgprs;
+ char face_vgpr_index;
+
unsigned vs_output_param_offset[PIPE_MAX_SHADER_OUTPUTS];
bool uses_instanceid;
unsigned nr_pos_exports;