mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965: ignore all texturing opcodes without a coordinate, for cubemap normalize
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>
This commit is contained in:
parent
7a4754d7d9
commit
7480ae3cb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue