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

--- Comment #7 from Ilia Mirkin <imir...@alum.mit.edu> ---
OK, so the issue is that it's a different(ish) constant array every time. Code
that's like

const foo[] = bar

foo[]
foo[]
foo[]

becomes

bar[]
bar[]
bar[]

And so in essence we have 3 arrays, each of which is becoming its own uniform.
I tried adding a hash table on ir_constant*, but that was useless, since
they're different ir_constant* pointers each time. This is going to be a bit
tricky... I guess we could hash the actual data. Probably other solutions I'm
neglecting, too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to