summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-06-20 07:32:48 -0700
committerGitHub <noreply@github.com>2024-06-20 07:32:48 -0700
commitc3c1cb6776eacdc01ea5bc197b635471960994e4 (patch)
tree03f1abbb08983a000017b7058589759f11d06d6f /tests/bugs
parent8c778870aa29853a28a350bdac6f0107e19a139f (diff)
Disambiguate int type matrix multiply (#4425)
Closes #4414
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-4414.slang10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs/gh-4414.slang b/tests/bugs/gh-4414.slang
new file mode 100644
index 000000000..99d537089
--- /dev/null
+++ b/tests/bugs/gh-4414.slang
@@ -0,0 +1,10 @@
+//TEST:SIMPLE(filecheck=CHK):-target hlsl -entry main -stage vertex
+
+void main()
+{
+ int2x2 a;
+ int4 b;
+
+ //CHK-NOT:error 39999: ambiguous call
+ b.zw = mul(a, b.yx);
+}