[Mesa-dev] [PATCH 03/14] glsl_to_tgsi: remove unused st_translate::tex_offsets

Marek Olšák maraeo at gmail.com
Mon Oct 17 13:39:15 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

---
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b857a5b..93673fa 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -5286,21 +5286,20 @@ struct st_translate {
    struct ureg_src *immediates;
    int num_immediates;
    struct ureg_dst outputs[PIPE_MAX_SHADER_OUTPUTS];
    struct ureg_src inputs[PIPE_MAX_SHADER_INPUTS];
    struct ureg_dst address[3];
    struct ureg_src samplers[PIPE_MAX_SAMPLERS];
    struct ureg_src buffers[PIPE_MAX_SHADER_BUFFERS];
    struct ureg_src images[PIPE_MAX_SHADER_IMAGES];
    struct ureg_src systemValues[SYSTEM_VALUE_MAX];
    struct ureg_src shared_memory;
-   struct tgsi_texture_offset tex_offsets[MAX_GLSL_TEXTURE_OFFSET];
    unsigned *array_sizes;
    struct inout_decl *input_decls;
    unsigned num_input_decls;
    struct inout_decl *output_decls;
    unsigned num_output_decls;
 
    const GLuint *inputMapping;
    const GLuint *outputMapping;
 
    /* For every instruction that contains a label (eg CALL), keep
-- 
2.7.4



More information about the mesa-dev mailing list