[Bug 109304] GfxBench AztecRuins Vulkan version Segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 11 11:30:42 UTC 2019


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

--- Comment #2 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
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?

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


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