Skip to content
Snippets Groups Projects
Commit ae4341b5 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

vkd3d-shader/ir: Use location information from the instruction in vkd3d_shader_scan_instruction().

parent 01dad418
No related branches found
No related tags found
1 merge request!485vkd3d-shader/ir: Skip recording combined resource/sampler information for dynamically indexed descriptor arrays.
Pipeline #18664 skipped
......@@ -1065,6 +1065,8 @@ static int vkd3d_shader_scan_instruction(struct vkd3d_shader_scan_context *conte
struct vkd3d_shader_cf_info *cf_info;
unsigned int i;
context->location = instruction->location;
switch (instruction->handler_idx)
{
case VKD3DSIH_DCL_CONSTANT_BUFFER:
......@@ -1292,7 +1294,6 @@ static int vkd3d_shader_scan_instruction(struct vkd3d_shader_scan_context *conte
}
}
++context->location.line;
return VKD3D_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment