<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GfxBench AztecRuins Vulkan version Segfault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109304#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GfxBench AztecRuins Vulkan version Segfault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109304">bug 109304</a>
from <span class="vcard"><a class="email" href="mailto:lionel.g.landwerlin@linux.intel.com" title="Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>"> <span class="fn">Lionel Landwerlin</span></a>
</span></b>
<pre>Problem here is that there is a cast between texture instruction and the
variable :
vec1 32 ssa_72 = deref_var &shadow_map (uniform sampler2DShadow)
vec1 32 ssa_73 = deref_cast (sampler2DShadow *)ssa_72 (function
sampler2DShadow)
vec2 32 ssa_74 = vec2 ssa_57, ssa_58
vec1 32 ssa_75 = tex ssa_73 (texture_deref), ssa_73 (sampler_deref),
ssa_74 (coord), ssa_59 (comparator),
But the nir_deref_instr_get_variable() will stop on a cast and return NULL.
Maybe Jason has more background on what to do here?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>