I've been having a weird issue with some shaders. The shader program failed at linking time but no GL errors in the log. After a lot of testing it seems like I am hitting an undocumented issue related to the amount of instructions (or texture instructions), since reducing the amount of operations will work fine.
I'm asking this question here to the experts to figure out if such a limitation exists for those cards.
PS: The shader is a complex shader with branching and the amount of texture operations is more than 32 counting all operations in all branches.
What specific device, GPU, and driver version?
Can you share your shader? Feel free to email developer <at> arm <dot> com if you can't share publicly?
The device is a Samsung Galaxy Note 5 (running Android 5.1.1). GPU is Mali-T760 (don't know the driver version).
I sent you both the vertex and fragment shaders to the e-mail.
Thanks for looking into this.
We've so far failed to reproduce this one when using local shader testing on the r7, r12, and r15 drivers which we believe are the three versions used on in various firmware updates to the Galaxy Note 5.There shouldn't be a limitation here in terms of number of texture instructions, only the number of unique samplers.
View all questions in Graphics and Gaming forum