summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-10-04 22:15:07 +0200
committerMarek Olšák <[email protected]>2014-10-12 23:53:57 +0200
commit8b057ddaeaa1e5ef65f1dbd548b59f8bd0a943b1 (patch)
treea6cd892f0478714646de88b6cabad773024196d1 /src/gallium/drivers/radeonsi/si_shader.h
parent02134cfaae541b37ffb70869401cabab4da91cb9 (diff)
radeonsi: move param_offset out of shader->input[] and output[]
Those are going away. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 80a3decebcd..3c9c2c21dc5 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -174,6 +174,9 @@ struct si_shader {
struct si_shader_output output[40];
unsigned nparam;
+ unsigned vs_output_param_offset[PIPE_MAX_SHADER_OUTPUTS];
+ unsigned ps_input_param_offset[PIPE_MAX_SHADER_INPUTS];
+
bool uses_instanceid;
bool vs_out_misc_write;
bool vs_out_point_size;