Hello,
I’ve got a problem with a fragment program on my card. It seems that the program exceeds native resources (that’s what the error message says), but the number of instructions, params, etc. are much lower than the GL_MAX_… values. The actual numbers are:
value max
native ALU instructions: 19 64
native TEX instructions: 16 32
native TEX indirections: 0 4
temporaries: 1 46
parameters: 6 32
attributes: 3 10
Everything is compiled OK if I remove one LRP instruction. Is it possible that there are some other limitations than the maximal number of instructions, attributes, etc.? Or is one LRP instruction so expensive? Other instructions used are MOV, ADD, SUB, TEX, MUL, MAD, nothing else. Is it possible that some instructions compile to more than one instruction? I’ve got Catalyst 4.9 (didn’t work also on 4.8, I haven’t tried other versions).
Thanks