radv/rt: move Ray Tracing shader creation into separate file
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19525>
This commit is contained in:
@@ -85,6 +85,7 @@ libradv_files = files(
|
|||||||
'radv_radeon_winsys.h',
|
'radv_radeon_winsys.h',
|
||||||
'radv_rra.c',
|
'radv_rra.c',
|
||||||
'radv_rt_common.c',
|
'radv_rt_common.c',
|
||||||
|
'radv_rt_shader.c',
|
||||||
'radv_sdma_copy_image.c',
|
'radv_sdma_copy_image.c',
|
||||||
'radv_shader.c',
|
'radv_shader.c',
|
||||||
'radv_shader.h',
|
'radv_shader.h',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1484
src/amd/vulkan/radv_rt_shader.c
Normal file
1484
src/amd/vulkan/radv_rt_shader.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -763,4 +763,8 @@ bool radv_force_primitive_shading_rate(nir_shader *nir, struct radv_device *devi
|
|||||||
bool radv_lower_fs_intrinsics(nir_shader *nir, const struct radv_pipeline_stage *fs_stage,
|
bool radv_lower_fs_intrinsics(nir_shader *nir, const struct radv_pipeline_stage *fs_stage,
|
||||||
const struct radv_pipeline_key *key);
|
const struct radv_pipeline_key *key);
|
||||||
|
|
||||||
|
nir_shader *create_rt_shader(struct radv_device *device,
|
||||||
|
const VkRayTracingPipelineCreateInfoKHR *pCreateInfo,
|
||||||
|
struct radv_pipeline_shader_stack_size *stack_sizes);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user