OSDN Git Service

llvmpipe: enable ARB_texture_view
authorRoland Scheidegger <sroland@vmware.com>
Wed, 13 May 2015 20:16:44 +0000 (22:16 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 13 May 2015 20:57:50 +0000 (22:57 +0200)
commite6c66f4fb060cf2566d2b5e091b76a098566344d
tree4087f6c8921cb492d9e03a06343f06ae4e5f61c4
parent2712f70d57a0df25db6371496eb567564a588e13
llvmpipe: enable ARB_texture_view

All the functionality was pretty much there, just not tested.
Trivially fix up the missing pieces (take target info from view not
resource), and add some missing bits for cubes.
Also add some minimal debug validation to detect uninitialized target values
in the view...

49 new piglits, 47 pass, 2 fail (both related to fake multisampling,
not texture_view itself). No other piglit changes.

v2: move sampler view validation to sampler view creation, update docs.

Reviewed-by: Brian Paul <brianp@vmware.com>
docs/GL3.txt
docs/relnotes/10.6.0.html
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c