mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxbc] Fix incorrect data type for explicit interpolation instructions
This commit is contained in:
parent
5a30110d0f
commit
a53e053391
@ -2803,8 +2803,7 @@ namespace dxvk {
|
|||||||
const uint32_t registerId = ins.src[0].idx[0].offset;
|
const uint32_t registerId = ins.src[0].idx[0].offset;
|
||||||
|
|
||||||
DxbcRegisterValue result;
|
DxbcRegisterValue result;
|
||||||
result.type.ctype = DxbcScalarType::Float32;
|
result.type = getInputRegType(registerId);
|
||||||
result.type.ccount = 4;
|
|
||||||
|
|
||||||
switch (ins.op) {
|
switch (ins.op) {
|
||||||
case DxbcOpcode::EvalCentroid: {
|
case DxbcOpcode::EvalCentroid: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user