mesa/src/freedreno
Connor Abbott 2e2e6865b4 tu, freedreno/a6xx: Fix setting PC_XS_OUT_CNTL::PRIMITVE_ID
This is supposed to be set when that stage needs the PrimID sysval
preloaded, except for the VS which doesn't have this bit and instead
infers it from the HS or GS bit (depending on whether tess/GS is
enabled). Therefore for HS, GS, and DS we should set it whenever the
corresponding sysval is there. This includes adding a missing
PC_HS_OUT_CNTL, which I confirmed is set when the HS reads PrimID from
the VS. Note that the DS sysval is currently always enabled whenever
there's a GS, if we were to fix that then we should also change the
logic here.

This doesn't fix anything that I know of, but aligns us more with what
the blob does.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12166>
2021-08-05 16:35:41 +00:00
..
.gitlab-ci tu, freedreno/a6xx: Fix setting PC_XS_OUT_CNTL::PRIMITVE_ID 2021-08-05 16:35:41 +00:00
afuc freedreno/afuc: Print uintptr_t with PRIxPTR 2021-06-02 03:57:20 +00:00
ci tu, freedreno/a6xx, ir3: Rewrite tess PrimID handling 2021-08-05 16:35:41 +00:00
common freedreno: fix wrong tile aligment for 3 CCU gpu 2021-07-16 15:02:27 +00:00
computerator freedreno/computerator: Add script to probe FLUT values 2021-07-13 14:40:30 +00:00
decode freedreno: Move pkt parsing helpers to common 2021-05-31 23:34:43 +00:00
drm freedreno: Lock access to msm_pipe for RB object suballocation. 2021-07-22 21:45:31 +00:00
drm-shim freedreno/drm-shim: keep GEM buffers page-aligned 2021-06-14 17:30:01 +00:00
ds freedreno: Generate device-info tables at build time 2021-07-14 01:58:00 +00:00
fdl freedreno/fdl: Give the tiling mode a nice name in debug dumps. 2021-06-17 22:47:51 +00:00
ir2 freedreno/ir2: Re-indent 2021-04-17 15:38:56 +00:00
ir3 tu, freedreno/a6xx, ir3: Rewrite tess PrimID handling 2021-08-05 16:35:41 +00:00
isa ir3: add newly found shlg.b16 instruction 2021-07-09 13:00:29 +00:00
perfcntrs freedreno: Fix fdperf flush 2021-06-09 19:08:53 -07:00
registers tu, freedreno/a6xx: Fix setting PC_XS_OUT_CNTL::PRIMITVE_ID 2021-08-05 16:35:41 +00:00
rnn freedreno/headergen2: Fix compile warnings with CP_DRAW_INDIRECT_MULTI 2021-05-31 23:34:43 +00:00
vulkan tu, freedreno/a6xx: Fix setting PC_XS_OUT_CNTL::PRIMITVE_ID 2021-08-05 16:35:41 +00:00
.clang-format freedreno: Add some options to .clang-format 2021-07-12 20:57:21 +00:00
.dir-locals.el freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
.editorconfig freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
meson.build freedreno: Add freedreno pps driver 2021-05-10 15:34:07 +00:00