https://bugs.freedesktop.org/show_bug.cgi?id=103393
--- Comment #4 from Ilia Mirkin <[email protected]> ---
OK yeah, this is totally broken... for a simplified shader (which I will submit
to piglit), this is generating code like
COMP
PROPERTY CS_FIXED_BLOCK_WIDTH 0
PROPERTY CS_FIXED_BLOCK_HEIGHT 0
PROPERTY CS_FIXED_BLOCK_DEPTH 0
DCL SV[0], THREAD_ID
DCL SV[1], BLOCK_ID
DCL SV[2], BLOCK_SIZE
DCL BUFFER[16]
DCL TEMP[0..3], LOCAL
IMM[0] UINT32 {8, 0, 0, 0}
0: UMAD TEMP[0].x, SV[1].xyzz, TEMP[1].xyzz, SV[0].xyzz
1: MOV TEMP[1].x, TEMP[0].xxxx
2: MOV TEMP[1].y, SV[0].xxxx
3: UMAD TEMP[2].x, SV[1].xxxx, SV[2].xxxx, SV[0].xxxx
4: UMUL TEMP[3].x, TEMP[2].xxxx, IMM[0].xxxx
5: STORE BUFFER[16].xy, TEMP[3].xxxx, TEMP[1].xyyy
6: END
Note the first op which tries to read the uninitialized TEMP[1].xyzz. Oops.
Pretty sure this used to work, so probably got broken at some point with the
various refactors.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel