Move two tests that are currently failing into failing_tests/

This commit is contained in:
Matt Pharr
2011-06-22 05:28:23 -07:00
parent 6086d3597c
commit aaafdf80f2
2 changed files with 0 additions and 0 deletions

View File

@@ -1,23 +0,0 @@
export uniform int width() { return programCount; }
typedef int<3> int3;
export void f_fu(uniform float ret[], uniform float aa[], uniform float b) {
float a = aa[programIndex];
uniform int3 array[32];
for (uniform int i = 0; i < 6*b + 2; ++i) {
for (uniform int j = 0; j < 3; ++j)
array[i][j] = i+100*j;
}
varying int3 vv = array[a];
++vv.y;
array[a] = vv;
print("fin %\n", array[programIndex].y);
ret[programIndex] = array[programIndex].y;
}
export void result(uniform float ret[]) {
ret[programIndex] = 100+programIndex;
}

View File

@@ -1,39 +0,0 @@
export uniform int width() { return programCount; }
struct Foo {
float f;
uniform int a;
float y;
};
extern void aa(reference Foo f);
extern void bb(reference Foo f[]);
typedef float<3> float3;
void set(uniform float3 f[], int offset, float3 val) {
f[offset] = val;
}
export void f_f(uniform float RET[], uniform float aFOO[]) {
float a = aFOO[programIndex];
uniform float3 foo[35];
for (uniform int i = 0; i < 35; ++i) {
foo[i].x = i;
foo[i].y = -1;
foo[i].z = 2*i;
}
float3 bar = { programIndex, 2*programIndex, 3*programIndex };
set(foo, a-1, bar);
RET[programIndex] = foo[programIndex].z;
}
export void result(uniform float RET[]) {
RET[programIndex] = 3*programIndex;
}