shader: Fix emulation for 1D and emulation for rect textures on a GLES host
This series fixes texelFetch
for emulated 1D textures, and adds emulation for sampler2DRect
and sampler2DShadowRect
.
A number of piglits are fixed by this: textureGather with 2DRECT texture arb_fragment_program_shadow/tex-shadow2drect arb_fragment_program_shadow/txp-shadow2drect glsl-fs-texture2drect -proj3 and -proj4
For some one still has to force GL 3.3 in the guest because of the required GLSL version.
Edited by Gert Wollny