mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +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(
|
uint32_t componentPtr = m_module.opAccessChain(
|
||||||
m_module.defPointerType(
|
m_module.defPointerType(
|
||||||
getScalarTypeId(DxbcScalarType::Float32),
|
getScalarTypeId(DxbcScalarType::Float32),
|
||||||
spv::StorageClassUniformConstant),
|
spv::StorageClassUniform),
|
||||||
ptr.id, 1, &componentId);
|
ptr.id, 1, &componentId);
|
||||||
|
|
||||||
ccomps[sindex] = m_module.opLoad(
|
ccomps[sindex] = m_module.opLoad(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user