radv: set export_clip_dists for the GS copy shader
This is needed for the next change to correctly compute the VS output parameters from the shader info pass. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13119>
This commit is contained in:

committed by
Marge Bot

parent
c53a1dff32
commit
89f1117c62
@@ -3565,6 +3565,9 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_device *device,
|
||||
if (!pipeline_has_ngg) {
|
||||
struct radv_shader_info info = {0};
|
||||
|
||||
if (infos[MESA_SHADER_GEOMETRY].vs.outinfo.export_clip_dists)
|
||||
info.vs.outinfo.export_clip_dists = true;
|
||||
|
||||
radv_nir_shader_info_pass(device, nir[MESA_SHADER_GEOMETRY], pipeline->layout, pipeline_key,
|
||||
&info);
|
||||
info.wave_size = 64; /* Wave32 not supported. */
|
||||
|
Reference in New Issue
Block a user