<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Ambient Occlusion in Two Point Hospital shows black spot artifacts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108340#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Ambient Occlusion in Two Point Hospital shows black spot artifacts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108340">bug 108340</a>
from <span class="vcard"><a class="email" href="mailto:wietse.jorissen@gmail.com" title="wietse.jorissen@gmail.com">wietse.jorissen@gmail.com</a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=142915" name="attach_142915" title="Recurring error in trace file replay in qapitrace">attachment 142915</a> <a href="attachment.cgi?id=142915&action=edit" title="Recurring error in trace file replay in qapitrace">[details]</a></span>
Recurring error in trace file replay in qapitrace
I've now installed qapitrace (sudo apt-get install apitrace-gui) and can now
look into what errors are being listed after I replay the trace therein.
Then I tried delving deeper into the error messages and think I may have at
least found something relevant. But I'm quite out of my element here.
In the attached screenshot, you can see it lists 4 errors regarding "array
index must be a scalar". These errors seem to refer to a glShaderSource call
for a GL_FRAGMENT_SHADER, shader string 0, at lines 65,98,99 and 100.
What these four lines have in common is that they all use the same value to
address a certain index in an array:
ivec4(u_xlati12)
For line 65 it's unity_Builtins0Array and for 98,99 and 100 it's
unity_Builtins0Array.
So now the question is, what is the value of ivec4(u_xlati12) and what
generates it, to find out what is causing it.
The error is repeated quite often, and it's always that index.
The fact that I can also see variables named _OcclusionStrength and
_OcclusionMap at least makes me think I'm looking in the right direction.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>