In the case of PIPE_TEXTURE_CUBE, util_gen_mipmap (in Mesa) encodes the target face in blit.{src,dst}.box.z. We need to bind to the correct texture target before we draw. Also removed extraneous whitespace. Fixes: dEQP-GLES2.functional.texture.mipmap.cube.generate.a8_fastest dEQP-GLES2.functional.texture.mipmap.cube.generate.a8_nicest dEQP-GLES2.functional.texture.specification.basic_copyteximage2d.cube_alpha dEQP-GLES2.functional.texture.specification.basic_copytexsubimage2d.cube_alpha [airlied: also fixes piglit: spec@arb_texture_cube_map@copyteximage cube] v2: Set layer to dst_z for cases other than GL_CUBE_MAP Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
f38d701226
commit
167b314d1a
Loading…
Reference in new issue