From 5e31c51a3dde601b6aa5f79351469984cea64668 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 21 Feb 2016 20:03:51 -0800 Subject: [PATCH] Textures are now in descriptor set 1. --- src/xenia/gpu/spirv_shader_translator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/spirv_shader_translator.cc b/src/xenia/gpu/spirv_shader_translator.cc index 8c2057242..ea5c176c8 100644 --- a/src/xenia/gpu/spirv_shader_translator.cc +++ b/src/xenia/gpu/spirv_shader_translator.cc @@ -194,13 +194,13 @@ void SpirvShaderTranslator::StartTranslation() { img_s[i], xe::format_string("images%dD", i + 1).c_str()); b.addDecoration(img_[i], spv::Decoration::DecorationBlock); - b.addDecoration(img_[i], spv::Decoration::DecorationDescriptorSet, 2); + b.addDecoration(img_[i], spv::Decoration::DecorationDescriptorSet, 1); b.addDecoration(img_[i], spv::Decoration::DecorationBinding, i + 1); } samplers_ = b.createVariable(spv::StorageClass::StorageClassUniformConstant, samplers_s, "samplers"); b.addDecoration(samplers_, spv::Decoration::DecorationBlock); - b.addDecoration(samplers_, spv::Decoration::DecorationDescriptorSet, 2); + b.addDecoration(samplers_, spv::Decoration::DecorationDescriptorSet, 1); b.addDecoration(samplers_, spv::Decoration::DecorationBinding, 0); // Interpolators.