diff options
author | Bryan Cain <[email protected]> | 2012-10-23 11:58:40 -0500 |
---|---|---|
committer | Andreas Boll <[email protected]> | 2012-10-24 23:51:08 +0200 |
commit | ebd8df7a3152e34805e2863c8471ee1a2de38fe1 (patch) | |
tree | 4ea41cde6caa89926a7e49dae35af9d0718ced61 /docs/relnotes.html | |
parent | 0f35702d798ead24497928af36236aa4c7e4b87b (diff) |
glsl_to_tgsi: set correct register type for array and structure elements
This fixes an issue where glsl_to_tgsi_visior::get_opcode() would emit the
wrong opcode because the register type was GLSL_TYPE_ARRAY/STRUCT instead of
GLSL_TYPE_FLOAT/INT/UINT/BOOL, so the function would use the float opcodes for
operations on integer or boolean values dereferenced from an array or
structure. Assertions have been added to get_opcode() to prevent this bug
from reappearing in the future.
Diffstat (limited to 'docs/relnotes.html')
0 files changed, 0 insertions, 0 deletions