summaryrefslogtreecommitdiffstats
path: root/src/gallium/README.portability
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-28 11:22:01 -0700
committerKenneth Graunke <[email protected]>2013-08-30 15:49:31 -0700
commita35b32025011eeac01f2e5a476dbf3ac132a61b3 (patch)
treeaa5dd3157ef9295adae1ed2e0fbab05bd49e374f /src/gallium/README.portability
parent4e3d1712a223f9f0b4ff4a34b9b5447a92877347 (diff)
i965/fs: Detect GRF sources in split_virtual_grfs send-from-GRF code.
It is incorrect to assume that src[0] of a SEND-from-GRF opcode is the GRF. For example, FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD uses src[1] for the GRF. To be safe, loop over all the source registers and mark any GRFs. We probably won't ever have more than one, but it's simpler to just check all three rather than attempting to bail early. Not observed to fix anything yet, but likely to. Parallels the bug fix in the previous commit, which actually does fix known failures. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions