mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 13:40:24 +01:00
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:
parent
ce97fa9349
commit
fda262fe64
4 changed files with 1492 additions and 1462 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue