projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103716a
)
i965/fs: Perform CSE on sends-from-GRF rather than textures.
author
Matt Turner
<mattst88@gmail.com>
Thu, 10 Jul 2014 18:47:44 +0000
(11:47 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 15 Jul 2014 17:12:29 +0000
(10:12 -0700)
Should potentially allow a few more cases, while avoiding doing CSE on
texture operations on Gen <= 6 with the MRF.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80211
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: lu hua <huax.lu@intel.com>
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
index 92c7495b990eedb172b7297f170ce44816ba1e3d..d435d84229015aa24020a476fd22884eed7678d8 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
@@
-103,7
+103,7
@@
is_expression(const fs_inst *const inst)
case SHADER_OPCODE_LOAD_PAYLOAD:
return !is_copy_payload(inst);
default:
- return inst->is_
tex
();
+ return inst->is_
send_from_grf
();
}
}