mesa/src/panfrost/util
Alyssa Rosenzweig 67f5721349 panfrost: Set allow_rotating_primitives
On Valhall, the driver should set this flag if the hardware may rotate
primitives. This happens if:

1. The rasterization of lines does not matter, AND
2. The provoking vertex does not matter.

The first condition we may satisfy by checking for LINES and the second by
checking for flat shading. Otherwise, we should set this flag to allow
optimizations. This may be more efficient for tiling.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16748>
2022-05-30 14:00:55 +00:00
..
lcra.c panfrost/lcra: Fix constraint counting 2021-03-01 17:09:58 +00:00
lcra.h pan/lcra: Allow per-variable bounds to be set 2020-05-21 17:49:14 +00:00
meson.build panfrost: Use common blend lowering 2021-05-07 17:25:21 +00:00
nir_mod_helpers.c panfrost: Add modifier detection helpers 2020-05-19 20:21:27 +00:00
pan_ir.c pan/mdg: Push uniforms based on UBO analysis 2021-02-11 17:24:37 +00:00
pan_ir.h panfrost: Set allow_rotating_primitives 2022-05-30 14:00:55 +00:00
pan_liveness.c pan/mdg: Free previous liveness 2020-08-20 18:15:01 +02:00
pan_lower_64bit_intrin.c nir: Rename WORK_GROUP (and similar) to WORKGROUP 2021-06-07 22:34:42 +00:00
pan_lower_framebuffer.c midgard: Handle FB fetch from non-vec4 output variables. 2022-05-11 14:47:33 +00:00
pan_lower_framebuffer.h panfrost: Don't pass quirks to pan_lower_framebuffer 2022-01-28 17:47:46 +00:00
pan_lower_helper_invocation.c nir: Make nir_ssa_def_rewrite_uses take an SSA value 2021-03-08 16:59:55 +00:00
pan_lower_sample_position.c nir: Make nir_ssa_def_rewrite_uses take an SSA value 2021-03-08 16:59:55 +00:00
pan_lower_writeout.c panfrost: Only write depth / stencil once if MRT is used 2022-05-24 16:13:33 +00:00
pan_sysval.c bifrost,midgard: Allow providing a fixed sysval layout 2022-05-12 10:53:16 +00:00