<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ES3-CTS.gtf.GL3Tests.shadow.shadow_execution_vert fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91114#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ES3-CTS.gtf.GL3Tests.shadow.shadow_execution_vert fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91114">bug 91114</a>
from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>