program/execute/builtin/builtin-ushort-popcount-1.2.generated: skip
program/execute/builtin/builtin-ushort-upsample-1.0.generated: crash
program/execute/call-clobbers-amdgcn: skip
-program/execute/calls: crash
program/execute/calls-large-struct: crash
program/execute/calls-struct: crash
program/execute/gegl-rgb-gamma-u8-to-ragabaf: crash
summary:
name: results
---- --------
- pass: 2964
+ pass: 2967
fail: 99
- crash: 66
+ crash: 65
skip: 79
timeout: 1
warn: 0
changes: 0
fixes: 0
regressions: 0
- total: 3209
+ total: 3211
*/
validate_assert(state, list_is_empty(&instr->dest.ssa.if_uses));
- /* Only certain modes can be used as sources for phi instructions. */
+ /* Certain modes cannot be used as sources for phi instructions because
+ * way too many passes assume that they can always chase deref chains.
+ */
nir_foreach_use(use, &instr->dest.ssa) {
if (use->parent_instr->type == nir_instr_type_phi) {
- validate_assert(state, instr->mode == nir_var_mem_ubo ||
- instr->mode == nir_var_mem_ssbo ||
- instr->mode == nir_var_mem_shared ||
- instr->mode == nir_var_mem_global ||
- instr->mode == nir_var_mem_constant);
+ validate_assert(state, instr->mode != nir_var_shader_in &&
+ instr->mode != nir_var_shader_out &&
+ instr->mode != nir_var_shader_out &&
+ instr->mode != nir_var_uniform);
}
}
}