HLSL: Force flat interpolation for structure members. Fixes #940.
This commit is contained in:
parent
be1085cb88
commit
f0bc598dd7
4 changed files with 48 additions and 37 deletions
|
|
@ -1349,7 +1349,6 @@ public:
|
|||
case EbtInt16:
|
||||
case EbtUint16:
|
||||
#endif
|
||||
case EbtBool:
|
||||
case EbtAtomicUint:
|
||||
return true;
|
||||
default:
|
||||
|
|
@ -1469,9 +1468,9 @@ public:
|
|||
case EbtUint16:
|
||||
#endif
|
||||
case EbtBool:
|
||||
return true;
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue