diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 04e085882ba..94ff4a5d3a5 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -366,13 +366,9 @@ panfrost_get_shader_param(struct pipe_screen *screen, /* We only allow observable side effects (memory writes) in compute and * fragment shaders. Side effects in the geometry pipeline cause - * trouble with IDVS. - * - * This restriction doesn't apply to Midgard, which does not implement - * IDVS and therefore executes vertex shaders exactly once. + * trouble with IDVS and conflict with our transform feedback lowering. */ - bool allow_side_effects = (shader != PIPE_SHADER_VERTEX) || - (dev->arch <= 5); + bool allow_side_effects = (shader != PIPE_SHADER_VERTEX); switch (param) { case PIPE_SHADER_CAP_MAX_INSTRUCTIONS: