| 1144 | } |
| 1145 | |
| 1146 | void reshade::d3d12::command_list_impl::copy_acceleration_structure(api::resource_view source, api::resource_view dest, api::acceleration_structure_copy_mode mode) |
| 1147 | { |
| 1148 | _has_commands = true; |
| 1149 | |
| 1150 | if (_supports_ray_tracing) |
| 1151 | static_cast<ID3D12GraphicsCommandList4 *>(_orig)->CopyRaytracingAccelerationStructure(dest.handle, source.handle, convert_acceleration_structure_copy_mode(mode)); |
| 1152 | else |
| 1153 | assert(false); |
| 1154 | } |
| 1155 | void reshade::d3d12::command_list_impl::build_acceleration_structure(api::acceleration_structure_type type, api::acceleration_structure_build_flags flags, uint32_t input_count, const api::acceleration_structure_build_input *inputs, api::resource scratch, uint64_t scratch_offset, api::resource_view source, api::resource_view dest, api::acceleration_structure_build_mode mode) |
| 1156 | { |
| 1157 | _has_commands = true; |
nothing calls this directly
no test coverage detected