Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/ir.c:
return &flattener->control_flow_info[depth];
- }
- return NULL;
+}
+static enum vkd3d_result cf_flattener_iterate_instruction_array(struct cf_flattener *flattener) +{
- struct vkd3d_shader_parser *parser = flattener->parser;
- struct vkd3d_shader_instruction_array *instructions;
- struct vkd3d_shader_instruction *dst_ins;
- bool main_block_open;
- size_t i;
- instructions = &parser->instructions;
- main_block_open = parser->shader_version.type != VKD3D_SHADER_TYPE_HULL;
Why this is disabled for hull shaders?