[Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 3 on bug 108340 from
Created attachment 142915 [details]
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.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux