radv: do not initialize is_ngg_passthrough for geometry shaders
Geometry shaders can't be NGG passthrough at all. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13243>
This commit is contained in:
parent
b3269444fd
commit
6bfe65d1dc
1 changed files with 0 additions and 1 deletions
|
|
@ -2954,7 +2954,6 @@ radv_fill_shader_info(struct radv_pipeline *pipeline,
|
|||
infos[MESA_SHADER_GEOMETRY].tes.as_es = infos[MESA_SHADER_TESS_EVAL].tes.as_es;
|
||||
}
|
||||
infos[MESA_SHADER_GEOMETRY].is_ngg = infos[pre_stage].is_ngg;
|
||||
infos[MESA_SHADER_GEOMETRY].is_ngg_passthrough = infos[pre_stage].is_ngg_passthrough;
|
||||
infos[MESA_SHADER_GEOMETRY].gs.es_type = pre_stage;
|
||||
|
||||
for (int i = 0; i < 2; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue