mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
radv: run the shader info pass before emitting the GS copy shader
For further optimizations. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
7cbc6f2621
commit
ea43d935ab
1 changed files with 2 additions and 0 deletions
|
|
@ -3549,6 +3549,8 @@ radv_compile_gs_copy_shader(LLVMTargetMachineRef tm,
|
|||
ctx.ac.builder = ac_create_builder(ctx.context, float_mode);
|
||||
ctx.stage = MESA_SHADER_VERTEX;
|
||||
|
||||
radv_nir_shader_info_pass(geom_shader, options, &shader_info->info);
|
||||
|
||||
create_function(&ctx, MESA_SHADER_VERTEX, false, MESA_SHADER_VERTEX);
|
||||
|
||||
ctx.gs_max_out_vertices = geom_shader->info.gs.vertices_out;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue