HLSL: Reverse what the driver is told about row/column majorness, matching the row-column reversal.
This commit is contained in:
@@ -491,10 +491,10 @@ bool HlslGrammar::acceptQualifier(TQualifier& qualifier)
|
||||
qualifier.sample = true;
|
||||
break;
|
||||
case EHTokRowMajor:
|
||||
qualifier.layoutMatrix = ElmRowMajor;
|
||||
qualifier.layoutMatrix = ElmColumnMajor;
|
||||
break;
|
||||
case EHTokColumnMajor:
|
||||
qualifier.layoutMatrix = ElmColumnMajor;
|
||||
qualifier.layoutMatrix = ElmRowMajor;
|
||||
break;
|
||||
case EHTokPrecise:
|
||||
qualifier.noContraction = true;
|
||||
|
||||
Reference in New Issue
Block a user