From 950a989744f56a4da78e95ec2ae3d36a3dca839e Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Mon, 9 Jul 2012 08:21:15 -0700 Subject: [PATCH] Add test that was supposed to go with 080241b7d1a940c3c7556ce1caee3ae01a1dd1ee --- tests/int64-constant.ispc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/int64-constant.ispc diff --git a/tests/int64-constant.ispc b/tests/int64-constant.ispc new file mode 100644 index 00000000..8ec2d8b0 --- /dev/null +++ b/tests/int64-constant.ispc @@ -0,0 +1,12 @@ + +export uniform int width() { return programCount; } + + +export void f_f(uniform float RET[], uniform float aFOO[]) { + int64 v = 0xffffffff; + RET[programIndex] = (v == 0xffffffffll) ? 1 : 0; +} + +export void result(uniform float RET[]) { + RET[programIndex] = 1; +}