1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[dxbc] Fix incorrect data type for explicit interpolation instructions

This commit is contained in:
Philip Rebohle 2018-10-25 22:25:13 +02:00
parent 5a30110d0f
commit a53e053391
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2803,8 +2803,7 @@ namespace dxvk {
const uint32_t registerId = ins.src[0].idx[0].offset;
DxbcRegisterValue result;
result.type.ctype = DxbcScalarType::Float32;
result.type.ccount = 4;
result.type = getInputRegType(registerId);
switch (ins.op) {
case DxbcOpcode::EvalCentroid: {