Skip to content
Snippets Groups Projects

vkd3d-shader/ir: Flatten structured control flow instructions.

Merged Conor McCarthy requested to merge cmccarthy/vkd3d:norm_cf into master
4 files
+ 16
16
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
1
@@ -2324,7 +2324,7 @@ static enum vkd3d_result register_allocate_constant_array(struct vkd3d_shader_re
"Out of memory allocating an immediate constant buffer of count %u.", count);
return VKD3D_ERROR_OUT_OF_MEMORY;
}
if ((reg->idx[0].offset = shader_instruction_array_add_icb(&sm6->p.instructions, icb)) == UINT_MAX)
if ((reg->idx[0].offset = shader_instruction_array_add_opaque_param(&sm6->p.instructions, icb)) == UINT_MAX)
{
ERR("Failed to store icb object.\n");
vkd3d_free(icb);
Loading