mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 04:29:15 +01:00
[dxbc] Use signed int for component index in OpImageGather
Workaround for a bug in Nvidia's shader compiler, which currently expects the component index to be signed rather than unsigned.
This commit is contained in:
parent
85d28f7328
commit
c3cf65c015
@ -2870,7 +2870,7 @@ namespace dxvk {
|
||||
case DxbcOpcode::Gather4Po: {
|
||||
result.id = m_module.opImageGather(
|
||||
getVectorTypeId(result.type), sampledImageId, coord.id,
|
||||
m_module.constu32(samplerReg.swizzle[0]),
|
||||
m_module.consti32(samplerReg.swizzle[0]),
|
||||
imageOperands);
|
||||
} break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user