This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
i965: Fold constants into the second arg of BRW_SEL as well.
This hits a common case with min/max operations.
tags/android-x86-2.2
Eric Anholt
15 years ago
parent
f9b420d3bd
commit
602ae2441a
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/mesa/drivers/dri/i965/brw_fs.cpp
+ 1
- 0
src/mesa/drivers/dri/i965/brw_fs.cpp
View File
@@ -2781,6 +2781,7 @@ fs_visitor::propagate_constants()
}
break;
case BRW_OPCODE_CMP:
case BRW_OPCODE_SEL:
if (i == 1) {
scan_inst->src[i] = inst->src[0];
progress = true;
Write
Preview
Loading…
Cancel
Save