Skip to content

Commit

Permalink
Fix raytracing
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Nov 5, 2024
1 parent e98f300 commit a64d716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ void kope_d3d12_ray_pipeline_init(kope_g5_device *device, kope_d3d12_ray_pipelin
ID3D12StateObjectProperties *props;
pipe->pipe->QueryInterface(&props);

uint8_t *data = (uint8_t *)kope_g5_buffer_lock(&pipe->shader_ids);
uint8_t *data = (uint8_t *)kope_g5_buffer_lock_all(&pipe->shader_ids);

wchar_t raygen[1024];
kinc_microsoft_convert_string(raygen, parameters->gen_shader_name, 1024);
Expand Down

0 comments on commit a64d716

Please sign in to comment.