[dxbc] Fix storage class for UBO loads

UniformConstant is used for other things, UBOs are Uniform.
This commit is contained in:
Philip Rebohle 2019-02-05 21:07:30 +01:00
parent 9c4a6ee950
commit 8b80db7839
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -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(