[Bug 91114] ES3-CTS.gtf.GL3Tests.shadow.shadow_execution_vert fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 26 03:17:29 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91114

--- Comment #2 from Iago Toral <itoral at igalia.com> ---
These are the conformance tests, right? I don't think I have access to them. 

Tapani, can you check if this change
inlower_texture_grad_visitor::visit_leave(ir_texture *ir) fixes the problem?:

-   if (ir->sampler->type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE) {
-      ir->lod_info.lod = expr(ir_binop_add,
-                              expr(ir_unop_log2, rho),
-                              new(mem_ctx) ir_constant(-1.0f));
-   } else {
       ir->lod_info.lod = expr(ir_unop_log2, rho);
-   }

The special case for GLSL_SAMPLER_DIM_CUBE was needed for piglit and deqp
textureGrad tests to pass, but if this is breaking a conformance test then 
maybe there is some other factor to consider when adjusting the lod
computation.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150626/a7fe7422/attachment.html>


More information about the intel-3d-bugs mailing list