summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-09-16 16:48:00 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-09-20 09:26:17 +0100
commit0742e0b3767072fe664ca9f39fc31d86d8d314ed (patch)
tree41cc737cd6d69592f0cc91045e1d8a9ba4390b32 /src/gallium/winsys
parent0d53dfa3c5bdac3a04187a93d916b84c1ad9e8d2 (diff)
svga: Fix relative addressing translation for pixel shaders.
Pixel shaders do not have address registers a#, only one loop register aL. Our only hope is to assume the address register is in fact a loop counter and replace it with aL. Do not translate ARL instruction for pixel shaders -- MOVA instruction is only valid for vertex saders. Make it more explicit relative addressing of inputs is only valid for pixel shaders and constants for vertex shaders.
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions