rt: fix for X macro redefinition

This commit is contained in:
Ivan Avdeev 2022-01-21 09:52:16 -08:00
parent 7b7d08a944
commit e295f39c2b

View File

@ -83,6 +83,7 @@ static void updateDescriptors( const xvk_ray_trace_primary_t* args ) {
.imageLayout = VK_IMAGE_LAYOUT_GENERAL, \
};
RAY_PRIMARY_OUTPUTS(X)
#undef X
g_ray_primary.desc.values[RtPrim_Desc_TLAS].accel = (VkWriteDescriptorSetAccelerationStructureKHR){
.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR,