diff options
author | Marek Olšák <[email protected]> | 2014-10-04 22:17:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-12 23:53:57 +0200 |
commit | 80677327404490e1bb4a37c065b4536940e74f73 (patch) | |
tree | 08418ca3a8da5b32209dd1dfee7aae71933a770a /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 8b057ddaeaa1e5ef65f1dbd548b59f8bd0a943b1 (diff) |
radeonsi: remove shader->input[] and output[] arrays and dependencies
They were reinventing tgsi_shader_info. They are unused now.
radeon_llvm_context::load_input can be NULL if input fetching is implemented
in some other way.
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.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 3c9c2c21dc5..30e6854031e 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -96,21 +96,6 @@ #define SI_NUM_PARAMS (SI_PARAM_POS_FIXED_PT + 1) -struct si_shader_input { - unsigned name; - int sid; - unsigned param_offset; - unsigned index; - unsigned interpolate; -}; - -struct si_shader_output { - unsigned name; - int sid; - unsigned param_offset; - unsigned index; -}; - struct si_shader; struct si_shader_selector { @@ -167,12 +152,6 @@ struct si_shader { unsigned cb_shader_mask; union si_shader_key key; - unsigned ninput; - struct si_shader_input input[40]; - - unsigned noutput; - 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]; |