aboutsummaryrefslogtreecommitdiff
path: root/layers/draw_state.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-04-15 15:29:59 -0600
committerChia-I Wu <olv@lunarg.com>2015-04-16 17:48:20 +0800
commit42a078dd1f61f895c0be38972154181a33d920b4 (patch)
tree89e9194404c9cb4acc72e65060d9fc588aa5bd6e /layers/draw_state.cpp
parent375a122d23c758e71d5048c5cd34db8afaa16496 (diff)
downloadusermoji-42a078dd1f61f895c0be38972154181a33d920b4.tar.xz
vulkan: Consistent naming scheme for resources in XGL
Bug 13230 header: 0.78.0 includes review feedback. v2: replace VK_FORMAT_IMAGE_COPY_BIT by VK_FORMAT_COLOR_ATTACHMENT_BIT for now (olv)
Diffstat (limited to 'layers/draw_state.cpp')
-rw-r--r--layers/draw_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 1ad7c1d8..18e2738d 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -677,7 +677,7 @@ static bool32_t validateUpdateType(const LAYOUT_NODE* pLayout, const GENERIC_HEA
actualType = VK_DESCRIPTOR_TYPE_SAMPLER;
break;
case VK_STRUCTURE_TYPE_UPDATE_SAMPLER_TEXTURES:
- actualType = VK_DESCRIPTOR_TYPE_SAMPLER_TEXTURE;
+ actualType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
break;
case VK_STRUCTURE_TYPE_UPDATE_IMAGES:
actualType = ((VkUpdateImages*)pUpdateStruct)->descriptorType;