vkd3d: Pass down raygen pipeline layout to command list.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
0b161f5693
commit
eeaca4a500
|
@ -6319,11 +6319,10 @@ static void d3d12_command_list_set_root_signature(struct d3d12_command_list *lis
|
|||
|
||||
case VK_PIPELINE_BIND_POINT_COMPUTE:
|
||||
bindings->layout = root_signature->compute;
|
||||
bindings->rt_layout = root_signature->raygen;
|
||||
break;
|
||||
|
||||
default:
|
||||
/* TODO, RT will be relevant here later somehow.
|
||||
* It will get awkward since RayGen happens in compute on DXR. */
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -1541,7 +1541,8 @@ struct vkd3d_root_descriptor_info
|
|||
struct vkd3d_pipeline_bindings
|
||||
{
|
||||
const struct d3d12_root_signature *root_signature;
|
||||
struct d3d12_bind_point_layout layout;
|
||||
/* RT in DXR happens in COMPUTE bind point. */
|
||||
struct d3d12_bind_point_layout layout, rt_layout;
|
||||
|
||||
VkDescriptorSet static_sampler_set;
|
||||
uint32_t dirty_flags; /* vkd3d_pipeline_dirty_flags */
|
||||
|
|
Loading…
Reference in New Issue