glsl_to_tgsi: allocate glsl_to_tgsi_instruction::tex_offsets on demand
authorMarek Olšák <marek.olsak@amd.com>
Sun, 16 Oct 2016 20:08:03 +0000 (22:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 19 Oct 2016 17:26:30 +0000 (19:26 +0200)
commit4e42898d9d8fc45bb1cf870b04c0ccd949205079
tree679c3b269eacae26a9ef0e32f1a0c07da2e4205e
parent4d3d620f26be242c9c0d92877bb69edf3ed872ed
glsl_to_tgsi: allocate glsl_to_tgsi_instruction::tex_offsets on demand

sizeof(glsl_to_tgsi_instruction): 384 -> 264

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp