mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
i965/vs/gen7: Allow MATH instructions to have MRF as a destination
total instructions in shared programs: 346873 -> 346847 (-0.01%) instructions in affected programs: 364 -> 338 (-7.14%) (All affected shaders are from Lightsmark) Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
4eeb9ded9d
commit
f0213b1242
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ vec4_visitor::opt_register_coalesce()
|
|||
if (scan_inst->mlen)
|
||||
break;
|
||||
|
||||
if (intel->gen >= 6) {
|
||||
if (intel->gen == 6) {
|
||||
/* gen6 math instructions must have the destination be
|
||||
* GRF, so no compute-to-MRF for them.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue