spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-index-col-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-index-row-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-index-wr,Fail
-spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-row-rd,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-row-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat2-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat3-col-row-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-array-mat4-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-mat2-col-row-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-mat2-col-wr,Fail
-spec@glsl-1.10@execution@variable-indexing@fs-temp-mat2-row-rd,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-mat2-row-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-mat2-wr,Fail
spec@glsl-1.10@execution@variable-indexing@fs-temp-mat3-col-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-index-col-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-index-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-index-wr,Fail
-spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-row-rd,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat2-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat3-col-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-array-mat4-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-mat2-col-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-mat2-col-wr,Fail
-spec@glsl-1.20@execution@variable-indexing@fs-temp-mat2-row-rd,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-mat2-row-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-mat2-wr,Fail
spec@glsl-1.20@execution@variable-indexing@fs-temp-mat3-col-row-wr,Fail
uint8_t swizzle[4] = {0};
if (ppir_instr_insert_const(&ic, nc, swizzle)) {
+ instr->constant[i] = ic;
ppir_node *succ = ppir_node_first_succ(node);
- ppir_src *src = NULL;
for (int s = 0; s < ppir_node_get_src_num(succ); s++) {
- src = ppir_node_get_src(succ, s);
- if (src->node == node)
- break;
- }
- assert(src);
- assert(src->node == node);
+ ppir_src *src = ppir_node_get_src(succ, s);
+ assert(src);
+ if (src->node != node)
+ continue;
- instr->constant[i] = ic;
- ppir_update_src_pipeline(ppir_pipeline_reg_const0 + i, src,
- &c->dest, swizzle);
+ ppir_update_src_pipeline(ppir_pipeline_reg_const0 + i, src,
+ &c->dest, swizzle);
+ }
break;
}
}