Initial commit.
This commit is contained in:
13
tests/op-plus-equals-ensure-one-lhs-eval.ispc
Normal file
13
tests/op-plus-equals-ensure-one-lhs-eval.ispc
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
export void f_fu(uniform float ret[], uniform float aa[], uniform float b) {
|
||||
uniform float foo[16] = 1;
|
||||
uniform int i = 0;
|
||||
foo[i++] += 1;
|
||||
ret[programIndex] = i;
|
||||
}
|
||||
|
||||
export void result(uniform float ret[]) {
|
||||
ret[programIndex] = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user