summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-14 15:23:50 +0200
committerGitHub <noreply@github.com>2023-09-14 15:23:50 +0200
commiteb4ddb2868a6cdba6ef633f9590ff9627b831102 (patch)
treee28ce020d13ec21e85273b75ccd7579538d16121 /src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
parentMerge pull request #11385 from liamwhite/acceptcancel (diff)
downloadyuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar.gz
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar.bz2
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar.lz
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar.xz
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.tar.zst
yuzu-eb4ddb2868a6cdba6ef633f9590ff9627b831102.zip
Diffstat (limited to 'src/shader_recompiler/backend/spirv/spirv_emit_context.cpp')
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
index 238fb40e3..72f69b7aa 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
@@ -1247,9 +1247,8 @@ void EmitContext::DefineTextureBuffers(const Info& info, u32& binding) {
}
const spv::ImageFormat format{spv::ImageFormat::Unknown};
image_buffer_type = TypeImage(F32[1], spv::Dim::Buffer, 0U, false, false, 1, format);
- sampled_texture_buffer_type = TypeSampledImage(image_buffer_type);
- const Id type{TypePointer(spv::StorageClass::UniformConstant, sampled_texture_buffer_type)};
+ const Id type{TypePointer(spv::StorageClass::UniformConstant, image_buffer_type)};
texture_buffers.reserve(info.texture_buffer_descriptors.size());
for (const TextureBufferDescriptor& desc : info.texture_buffer_descriptors) {
if (desc.count != 1) {