Commit 3d1b7096 by John Kessenich

HLSL: Fix #1027.

parent 778806a6
...@@ -8,7 +8,7 @@ uint fun2(float4 col) ...@@ -8,7 +8,7 @@ uint fun2(float4 col)
return 7; return 7;
} }
float4 fun4(uint id1, uint id2) float4 fun4(uint id1, uniform uint id2)
{ {
return id1 * id2; return id1 * id2;
} }
......
...@@ -6354,6 +6354,7 @@ void HlslParseContext::paramFix(TType& type) ...@@ -6354,6 +6354,7 @@ void HlslParseContext::paramFix(TType& type)
type.getQualifier().storage = EvqConstReadOnly; type.getQualifier().storage = EvqConstReadOnly;
break; break;
case EvqGlobal: case EvqGlobal:
case EvqUniform:
case EvqTemporary: case EvqTemporary:
type.getQualifier().storage = EvqIn; type.getQualifier().storage = EvqIn;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment