mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 10:24:10 +01:00
[dxbc] Fix storage class for UBO loads
UniformConstant is used for other things, UBOs are Uniform.
This commit is contained in:
parent
9c4a6ee950
commit
8b80db7839
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user