diff options
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index d5d558a5ac3..61189fe5cb7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h @@ -94,15 +94,6 @@ struct tgsi_sampler float rgba[NUM_CHANNELS][QUAD_SIZE]); }; -struct tgsi_resource { - void (* fetch3D)(struct tgsi_resource *resource, - const int i[QUAD_SIZE], - const int j[QUAD_SIZE], - const int k[QUAD_SIZE], - const int lod[QUAD_SIZE], - float rgba[NUM_CHANNELS][QUAD_SIZE]); -}; - /** * For branching/calling subroutines. */ @@ -340,8 +331,7 @@ struct tgsi_exec_machine struct tgsi_exec_labels Labels; - struct tgsi_declaration_resource ResourceDecls[PIPE_MAX_SHADER_RESOURCES]; - struct tgsi_resource **Resources; + struct tgsi_declaration_resource Resources[PIPE_MAX_SHADER_RESOURCES]; }; struct tgsi_exec_machine * @@ -351,13 +341,12 @@ void tgsi_exec_machine_destroy(struct tgsi_exec_machine *mach); -void -tgsi_exec_machine_bind_shader(struct tgsi_exec_machine *mach, - const struct tgsi_token *tokens, - uint numSamplers, - struct tgsi_sampler **samplers, - uint numResources, - struct tgsi_resource **resources); +void +tgsi_exec_machine_bind_shader( + struct tgsi_exec_machine *mach, + const struct tgsi_token *tokens, + uint numSamplers, + struct tgsi_sampler **samplers); uint tgsi_exec_machine_run( |