HLSL: Fix #1208: accept both int and uint in asuint() and asint().
diff --git a/Test/hlsl.intrinsics.frag b/Test/hlsl.intrinsics.frag
index 9343f6d..41b5f54 100644
--- a/Test/hlsl.intrinsics.frag
+++ b/Test/hlsl.intrinsics.frag
@@ -13,7 +13,7 @@
groupshared uint4 gs_ub4;
groupshared uint4 gs_uc4;
-float PixelShaderFunctionS(float inF0, float inF1, float inF2, uint inU0, uint inU1)
+float PixelShaderFunctionS(float inF0, float inF1, float inF2, uint inU0, int inU1)
{
uint out_u1;
@@ -23,7 +23,7 @@
bool r003 = any(inF0);
float r004 = asin(inF0);
int r005 = asint(inF0);
- uint r006 = asuint(inF0);
+ uint r006 = asuint(inU1);
float r007 = asfloat(inU0);
// asdouble(inU0, inU1); // TODO: enable when HLSL parser used for intrinsics
float r009 = atan(inF0);