projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4754d
)
i965: ignore all texturing opcodes without a coordinate, for cubemap normalize
author
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 26 Sep 2013 08:08:32 +0000
(20:08 +1200)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Sat, 5 Oct 2013 06:16:33 +0000
(19:16 +1300)
Previously we special-cased textureSize() but this is the more correct
condition.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
b/src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
index 949414cc954bc7d03ab5118144bca95565bf1f86..33571292007a37066f41d8b2d810d80182f4baef 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
@@
-52,7
+52,7
@@
brw_cubemap_normalize_visitor::visit_leave(ir_texture *ir)
if (ir->sampler->type->sampler_dimensionality != GLSL_SAMPLER_DIM_CUBE)
return visit_continue;
- if (
ir->op == ir_txs
)
+ if (
!ir->coordinate
)
return visit_continue;
void *mem_ctx = ralloc_parent(ir);