4 ms·
Yeah, but PTX doesn't give texture or sampler values an sRGB mode either. Are you sure the driver doesn't just convert the texture when glTex(Sub)Image* is call
by jckarter 16y ago
Yeah, but PTX doesn't give texture or sampler values an sRGB mode either. Are you sure the driver doesn't just convert the texture when glTex(Sub)Image* is called?
- deleted 16y ago[deleted]
- ssp 16y agoI would be very surprised. I do know that both Intel and ATI chips support it in texture hardware. See this, for example: http://www.x.org/docs/AMD/R5xx_Acceleration_v1.5.pdf http://www.x.org/docs/AMD/R5xx_Acceleration_v1.5.pdf Bit 21 of TXFORMAT0: GAMMA 21 none Optionally remove gamma from texture before passing to shader. Only apply to 8bit or less components. POSSIBLE VALUES: 00 - Disable gamma removal 01 - Enable gamma removal There is also support for re-applying gamma before storing to a color buffer.