diff options
author | Rob Clark <[email protected]> | 2015-06-28 11:13:58 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-06-30 12:13:44 -0400 |
commit | 906da495272b1be4c278f5f7402594e3c52521c1 (patch) | |
tree | 76bdd6c6f8ebef349afce1c323601253dd7042c5 /src/gallium/drivers/vc4 | |
parent | db5105b4b35e064f3934154b45de15422a1bdb0a (diff) |
freedreno/ir3: fix RA issue with fanin
The fanin source could be grouped, for example with shaders like:
VERT
DCL IN[0]
DCL IN[1]
DCL OUT[0], POSITION
DCL OUT[1], GENERIC[9]
DCL SAMP[0]
DCL SVIEW[0], 2D, FLOAT
DCL TEMP[0], LOCAL
0: MOV TEMP[0].xy, IN[1].xyyy
1: MOV TEMP[0].w, IN[1].wwww
2: TXF TEMP[0], TEMP[0], SAMP[0], 2D
3: MOV OUT[1], TEMP[0]
4: MOV OUT[0], IN[0]
5: END
The second arg to the isaml is IN[1].w, so we need to look at the fanin
source to get the correct offset.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4')
0 files changed, 0 insertions, 0 deletions