summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderimage.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-01-20 16:12:18 +0200
committerFrancisco Jerez <[email protected]>2015-05-04 17:44:16 +0300
commitcad0cf4ceeaac708591d064642e12d3b8daa4e05 (patch)
tree0a3c4a521398ce1349ce8fec96520bfc706a1adb /src/mesa/main/shaderimage.h
parent4e4855f1dec566c8af825101445f13b1f824a309 (diff)
mesa: Validate original image internal format rather than derived mesa format.
This matches what _mesa_BindImageTextures() does. The derived image format (gl_texture_image::TexFormat) isn't necessarily equivalent to the internal format of the texture image. If a forbidden internal format has been specified we need to mark the image unit as invalid as required by the spec, regardless of the derived format. Fixes the "invalid" ARB_shader_image_load_store piglit test. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderimage.h')
0 files changed, 0 insertions, 0 deletions