summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-06-13 14:55:19 -0700
committerKenneth Graunke <[email protected]>2013-06-26 11:25:13 -0700
commit55272883acc8a5a6cf4d725bfd4713e7d347ce3b (patch)
tree0b8bd508997050cf09c73a5bb30a0f53a43669c3 /src/mesa/main
parent9321f3257f0199c5988fd2e220874acd8b7f0a53 (diff)
i965: Remove broken source type assertions from brw_alu3().
Commit 526ffdfc033ab01cf133cb7e8290c65d12ccc9be attempted to generalize the source register type assertions to allow D and UD. However, the src1 and src2 assertions actually checked src0.type against D and UD due to a copy and paste bug. It also began setting the source and destination register types based on dest.type, ignoring src0/src1/src2.type completely. BFE and BFI2 may actually pass mixed D/UD types and expect them to be ignored, which is arguably a bit sloppy, but not too crazy either. This patch simply removes the source register assertions as those values aren't used anyway. It also clarifies the comment above the block that sets the register types. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions