diff options
author | Michal Krol <[email protected]> | 2010-09-16 16:48:00 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-09-20 09:26:17 +0100 |
commit | 0742e0b3767072fe664ca9f39fc31d86d8d314ed (patch) | |
tree | 41cc737cd6d69592f0cc91045e1d8a9ba4390b32 /src/gallium/drivers/svga/svga_context.c | |
parent | 0d53dfa3c5bdac3a04187a93d916b84c1ad9e8d2 (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/drivers/svga/svga_context.c')
0 files changed, 0 insertions, 0 deletions