glsl_to_tgsi: reduce the size of st_dst_reg and st_src_reg
authorMarek Olšák <marek.olsak@amd.com>
Sun, 16 Oct 2016 19:30:05 +0000 (21:30 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 19 Oct 2016 17:26:30 +0000 (19:26 +0200)
commit9015cbb3a3afd58543e3a144b7ae57e9ed44d811
treed9bf1d69e5096ec4d0426a1b1c34c97634cc5dae
parent222c599b61d8b962e897d1a69002362886f28cb3
glsl_to_tgsi: reduce the size of st_dst_reg and st_src_reg

I noticed that glsl_to_tgsi_instruction is too huge.

sizeof(glsl_to_tgsi_instruction): 752 -> 464 (-38%)

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