From 8b80db78393c91d9964924d6acee986b4602413d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 5 Feb 2019 21:07:30 +0100 Subject: [PATCH] [dxbc] Fix storage class for UBO loads UniformConstant is used for other things, UBOs are Uniform. --- src/dxbc/dxbc_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index 1225b45c0..6fa5108ca 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -5229,7 +5229,7 @@ namespace dxvk { uint32_t componentPtr = m_module.opAccessChain( m_module.defPointerType( getScalarTypeId(DxbcScalarType::Float32), - spv::StorageClassUniformConstant), + spv::StorageClassUniform), ptr.id, 1, &componentId); ccomps[sindex] = m_module.opLoad(