OSDN Git Service

anv/blit2d: Remove sampler from pipeline
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 11 Mar 2016 02:25:10 +0000 (18:25 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 16 Mar 2016 17:57:00 +0000 (10:57 -0700)
commit92fb65f1176334159c9b2327bbb693332b0b6bb6
tree60d72e83f975c62bf7e6a249bc4f947df8abe208
parentf8f98869157b678320ab8b8fcd50ab7285dac0be
anv/blit2d: Remove sampler from pipeline

Since we're using texelFetch with a sampled image, a sampler is no
longer needed. This agrees with the Vulkan Spec section 13.2.4
Descriptor Set Updates:

sampler is a sampler handle, and is used in descriptor updates for types
VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
if the binding being updated does not use immutable samplers.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/intel/vulkan/anv_meta_blit2d.c