diff options
author | Rob Clark <[email protected]> | 2014-09-08 13:42:54 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-09-09 19:42:18 -0400 |
commit | a2c22d80d4efc793a29150360f428a76f9c8589d (patch) | |
tree | a0c1a85c4425184c1f9d3c3184794e7c422ae796 /src/mesa/state_tracker/st_texture.c | |
parent | 4f338c9bbff090d606afdc22373cc7869b0d0c89 (diff) |
freedreno/ir3: fix potential segfault in RA
Triggered by shaders like:
FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL OUT[0], COLOR
DCL CONST[0]
DCL TEMP[0..2], LOCAL
0: IF CONST[0].xxxx :0
1: MOV TEMP[0], TEMP[1]
2: ELSE :0
3: MOV TEMP[0], TEMP[2]
4: ENDIF
5: MOV OUT[0], TEMP[0]
6: END
not really a sane shader, although driver segfaulting is probably
not the appropriate response.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
0 files changed, 0 insertions, 0 deletions