Gert Wollny [Fri, 7 Oct 2022 18:36:43 +0000 (20:36 +0200)]
r600/sfn: improve scheduling of tex sources
Let tex sources switch the channel to unused channels.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 7 Oct 2022 13:54:52 +0000 (15:54 +0200)]
r600/sfn: Trigger TEX CF based on max TEX CF size
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 7 Oct 2022 13:52:15 +0000 (15:52 +0200)]
r600/sfn: Allow copy-prop of group dest into origin
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 7 Oct 2022 18:09:18 +0000 (20:09 +0200)]
r600/sfn: Add test for channel changes in TEX source from opt
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 7 Oct 2022 14:21:42 +0000 (16:21 +0200)]
r600: Fix printing t-channel in diss-assambly
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 14 Oct 2022 13:29:55 +0000 (15:29 +0200)]
r600/sfn: Handle nir_op_seq and nir_op_sne
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Gert Wollny [Fri, 21 Oct 2022 18:43:23 +0000 (20:43 +0200)]
r600/sfn: Unify the handling of resource IDs in instruction
Fetch, GDS, Texture, and RAT instructions all use resources
with a possible offset defined by the index register. Unify
the handling of resource ID and the offset register for these
instruction types.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19300>
Vinson Lee [Sun, 23 Oct 2022 19:28:44 +0000 (12:28 -0700)]
v3d: Fix initializer-overrides warning.
../src/gallium/drivers/v3d/v3d_screen.c:733:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.lower_mul_high = true,
^~~~
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:16:14: note: expanded from macro 'true'
^
../src/gallium/drivers/v3d/v3d_screen.c:726:27: note: previous initialization is here
.lower_mul_high = true,
^~~~
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:16:14: note: expanded from macro 'true'
^
Fixes:
73e8fc3efbf ("broadcom/compiler: don't use imprecise_32bit_lowering for idiv lowering")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19262>
Yonggang Luo [Sun, 23 Oct 2022 14:54:01 +0000 (22:54 +0800)]
xlib: Remove the usage of global constructor in xlib.c, so the xm_public.h are removed
The usage of global constructor should be limited, only in absolutely needed case.
The call style of xlib_create_screen referenced to osmesa_create_screen
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sun, 23 Oct 2022 14:45:59 +0000 (22:45 +0800)]
xlib: Getting xmesa_strict_invalidate to be function
So that doesn't be called in global constructor
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Mon, 24 Oct 2022 15:39:01 +0000 (23:39 +0800)]
ci: Getting debian-clang-release to building with glx=xlib
Because this is just building, didn't not used by CTS runner,
So enable glx=xlib in this build variant
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sat, 22 Oct 2022 09:58:41 +0000 (17:58 +0800)]
ci/macOS: Getting the installed binary to be artifacts
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sun, 23 Oct 2022 14:47:36 +0000 (22:47 +0800)]
xlib: Indent with space and trim trailing spaces of xlib files
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Ack-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sun, 23 Oct 2022 15:47:32 +0000 (23:47 +0800)]
gallium: Remove mgl* prefix in linker script osmesa.sym and libgl-xlib.sym
Seeing no mgl prefixed function in codebase, so removed it
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Ack-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sun, 23 Oct 2022 15:00:09 +0000 (23:00 +0800)]
xlib: Remove the linkage hack in lib.c by use meson link_whole option
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Ack-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Yonggang Luo [Sat, 22 Oct 2022 06:49:56 +0000 (14:49 +0800)]
xlib: Fixes compiling on linux
configure command line:
meson ../.. -Dglx=xlib -Dosmesa=true
link error:
virgl_screen.c.o: in function `virgl_is_video_format_supported':
/mnt/c/work/xemu/mesa/build/windows-wsl2/../../src/gallium/drivers/virgl/virgl_screen.c:885: undefined reference to `vl_video_buffer_is_format_supported'
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7545
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Ack-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19258>
Alyssa Rosenzweig [Fri, 21 Oct 2022 15:43:15 +0000 (11:43 -0400)]
panfrost: Use proper formats for pntc varying
The formats of special attributes are supposed to match their architectural
definitions, and point coordinates are architecturally defined as RGBA32F. In
practice this doesn't seem to fix anything.
Cc: mesa-stable
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19237>
Alyssa Rosenzweig [Fri, 21 Oct 2022 14:57:55 +0000 (10:57 -0400)]
panfrost: Don't use lower_wpos_pntc on Midgard
gl_PointCoord is implemented via a special attribute descriptor on Midgard. This
descriptor has an orientation bit, the orientation is driver-controlled. That
means we can map rast->sprite_coord_mode to this bit, rather than lowering in
the shader.
This is a bug fix for point sprites, which are implemented natively on Midgard
for dubious reasons and need to be flipped this way. It is also an optimization
for apps reading gl_PointCoord, removing the extra arithmetic to flip, although
the value of this is somewhat dubious.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19237>
Emma Anholt [Tue, 25 Oct 2022 17:28:35 +0000 (10:28 -0700)]
ci/freedreno: Update known flakes/timeouts.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19304>
Emma Anholt [Tue, 25 Oct 2022 17:19:25 +0000 (10:19 -0700)]
ci/freedreno: Update CivV trace expectation.
Rendered scene still looks good, just a few pixels changed a bit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19304>
Karol Herbst [Sat, 15 Oct 2022 21:00:37 +0000 (23:00 +0200)]
aux/trace: add set_global_binding
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19214>
Mike Blumenkrantz [Mon, 24 Oct 2022 20:46:59 +0000 (16:46 -0400)]
zink: elide a buffer samplerview update conditional
this is really part of the previous conditional blocks
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
Mike Blumenkrantz [Mon, 24 Oct 2022 20:44:34 +0000 (16:44 -0400)]
zink: rescope/simplify some push descriptor code
this is only used in the push descriptor block, so move it there and
simplify redundant cases
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
Mike Blumenkrantz [Mon, 24 Oct 2022 20:58:18 +0000 (16:58 -0400)]
zink: flag push state changed in batch changed conditional
this will matter after future refactoring
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
Mike Blumenkrantz [Mon, 24 Oct 2022 18:30:18 +0000 (14:30 -0400)]
zink: split out uniform decriptor bindings in shader data
this is both more usable and fixes some descriptor util functionality
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
Mike Blumenkrantz [Fri, 21 Oct 2022 19:05:16 +0000 (15:05 -0400)]
zink: simplify some program descriptor helpers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
Karol Herbst [Tue, 25 Oct 2022 22:02:15 +0000 (00:02 +0200)]
zink: fix spirv_builder_spec_const_uint
We need to create the type upfront otherwise the spir-v binary gets
corrupted.
Fixes:
c305a2c9625 ("zink: move spec constant emission to the types/consts block")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19310>
Danylo Piliaiev [Wed, 19 Oct 2022 16:47:36 +0000 (18:47 +0200)]
freedreno: Add 'replay' tool which allows to replay cmdstreams
Replay command stream obtained from:
- /sys/kernel/debug/dri/0/rd
- /sys/kernel/debug/dri/0/hangrd
!!! Command stream capture should be done with ALL buffers:
- echo 1 > /sys/module/msm/parameters/rd_full
Requires kernel with MSM_INFO_SET_IOVA support.
This tool is intended for reproduction of various GPU issues:
- GPU hangs, note that command stream obtained from hangrd
may not reproduce (rarely) the hang, since the buffers are
snapshotted at the moment of the hang and not at the start
of the hanging command stream.
- TODO: Misrendering, would require marking framebuffer images
at each renderpass in order to fetch and decode them.
Code from Freedreno/Turnip is not re-used here since the relevant
pieces may introduce additional allocations which cannot be allowed
during the replay.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19171>
Samuel Pitoiset [Mon, 24 Oct 2022 02:15:06 +0000 (02:15 +0000)]
aco: add support for device clock on GFX11
According to LLVM, s_sendmsg_rtn(GET_REALTIME) should be used instead
of s_memrealtime.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19267>
Samuel Pitoiset [Tue, 25 Oct 2022 11:17:34 +0000 (13:17 +0200)]
aco: split the sendmsg enumeration into sendmsg_rtn
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19267>
Samuel Pitoiset [Mon, 24 Oct 2022 02:14:24 +0000 (02:14 +0000)]
aco: add support for s_sendmsg_rtn_b{32,64}
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19267>
Samuel Pitoiset [Fri, 21 Oct 2022 00:37:28 +0000 (00:37 +0000)]
ac/llvm: add support for device clock on GFX11
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19267>
Rhys Perry [Fri, 30 Sep 2022 18:29:43 +0000 (19:29 +0100)]
ac/nir: add legacy streamout and GS copy shader helpers
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19302>
Rhys Perry [Wed, 28 Sep 2022 18:32:26 +0000 (19:32 +0100)]
radv,nir: add intrinsics for streamout and GS copy shaders
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19302>
Emma Anholt [Tue, 25 Oct 2022 00:05:03 +0000 (17:05 -0700)]
turnip: Enable LRZ testing (not writing) in the presence of discards.
We can LRZ test to not rasterize maybe-discarded pixels, as long as we
don't LRZ write a Z that may be discarded. We can drop this check,
because LRZ writes are already disabled by TU_LRZ_FORCE_DISABLE_WRITE, and
tu_6_build_depth_plane_z_mode() uses has_kill to choose EARLY_LRZ_LATE_Z
(or just LATE_Z if LRZ isn't enabled).
gfxbench aztec ruins: +7.93104% +/- 0.117845% (n=4)
ANGLE trex_200: +11.7208% +/- 0.476166% (n=3)
ANGLE aztec_ruins_high: +11.9138% +/- 0.147586% (n=3)
Fixes: #6327 (now vk-5-normal is +0.712724% +/- 0.0655751% to gl-5-normal)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19286>
Eric Engestrom [Tue, 25 Oct 2022 08:20:37 +0000 (09:20 +0100)]
vc4: mark piglit copypixels-(draw-)sync as flaky
They sometimes fail when running all the tests together, but never when
running just them; not sure how to diagnose this, but for now jusk mark
them as flaky.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19295>
Eric Engestrom [Tue, 13 Sep 2022 14:56:45 +0000 (16:56 +0200)]
vc4: send shaderdb output through KHR_debug
This allows us to see the file names for the shaders.
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
Jose Maria Casanova Crespo [Wed, 14 Apr 2021 18:03:21 +0000 (20:03 +0200)]
vc4: consolidate shader-db output
[Eric: update output string format for new shaderdb]
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
Eric Engestrom [Fri, 21 Oct 2022 09:51:14 +0000 (10:51 +0100)]
vc4: use PIPE_MASK_RGBA name instead of its value 0xf
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
Eric Engestrom [Wed, 24 Aug 2022 08:28:09 +0000 (09:28 +0100)]
vc4: pre-compile shaders to make up for the lack of draw calls in shader-db
This means we don't have the variant keys, and need to make up one
variant and pre-compile it.
Signed-off-by: Eric Engestrom <eric@igalia.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
Brian Paul [Wed, 21 Sep 2022 21:40:48 +0000 (15:40 -0600)]
llvmpipe: improve some if/switch code in llvmpipe_get_shader_param()
Move the PIPE_SHADER_CAP_PREFERRED_IR case into the switch statement.
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:14 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_texture.[ch]
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:14 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_tex_sample.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_test_main.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_test_format.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_test_conv.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_test_blend.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_vertex.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_tess.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_surface.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:13 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_so.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_rasterizer.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_gs.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_cs.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_state_clip.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 04:23:53 +0000 (22:23 -0600)]
llvmpipe: asst. clean-ups in lp_state_derived.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 16 Sep 2022 16:14:05 +0000 (10:14 -0600)]
llvmpipe: asst. clean-ups in lp_state_sampler.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_scene.h
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:12 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_scene.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_linear_sampler.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_linear_interp.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_flush.[ch]
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_fence.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:10 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_draw_arrays.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:10 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_debug.h
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 16 Sep 2022 16:14:15 +0000 (10:14 -0600)]
llvmpipe: asst. clean-ups in lp_bld_interp.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:10 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_bld_depth.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:10 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_bld_blend_aos.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:10 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_bld_alpha.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 16:19:54 +0000 (10:19 -0600)]
llvmpipe: asst. clean-ups in lp_setup_tri.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 04:26:24 +0000 (22:26 -0600)]
llvmpipe: remove gotos in do_rect_ccw()
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 16:19:46 +0000 (10:19 -0600)]
llvmpipe: asst. clean-ups in lp_setup_point.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 16:19:34 +0000 (10:19 -0600)]
llvmpipe: asst. clean-ups in lp_setup_line.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 04:23:21 +0000 (22:23 -0600)]
llvmpipe: asst. clean-ups in lp_setup_vbuf.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 04:23:07 +0000 (22:23 -0600)]
llvmpipe: asst. clean-ups in lp_setup_rect.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 04:22:35 +0000 (22:22 -0600)]
llvmpipe: asst. clean-ups in lp_setup.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 16 Sep 2022 16:00:37 +0000 (10:00 -0600)]
llvmpipe: asst. clean-ups in lp_query.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 16 Sep 2022 15:55:27 +0000 (09:55 -0600)]
llvmpipe: asst. clean-ups in lp_screen.[ch]
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 16 Sep 2022 15:51:41 +0000 (09:51 -0600)]
llvmpipe: asst. clean-ups in lp_surface.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:31:27 +0000 (19:31 -0600)]
llvmpipe: asst. clean-ups in lp_context.[ch]
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:30:30 +0000 (19:30 -0600)]
gallium: whitespace fixes in p_context.h, p_screen.h
Use consistent whitespace near parens. Replace tabs w/ spaces, etc.
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_rast_linear_fallback.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_rast_linear.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Wed, 21 Sep 2022 17:30:11 +0000 (11:30 -0600)]
llvmpipe: asst. clean-ups in lp_rast.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:12:02 +0000 (19:12 -0600)]
llvmpipe: asst. clean-ups in lp_rast_rect.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:04:57 +0000 (19:04 -0600)]
llvmpipe: asst. clean-ups in lp_rast_priv.h
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:01:49 +0000 (19:01 -0600)]
llvmpipe: asst. clean-ups in lp_rast_debug.c
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Brian Paul [Fri, 26 Aug 2022 01:01:25 +0000 (19:01 -0600)]
llvmpipe: asst. clean-ups in lp_rast.h
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19289>
Mike Blumenkrantz [Thu, 20 Oct 2022 16:32:18 +0000 (12:32 -0400)]
zink: add some docs for c++ pipeline state functions
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 16:11:42 +0000 (12:11 -0400)]
zink: add some descriptor docs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 15:42:38 +0000 (11:42 -0400)]
zink: stop passing pointer to changed_sets to populate_sets()
I think this used to be a thing for caching but I don't remember
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 15:40:58 +0000 (11:40 -0400)]
zink: delete unused descriptor function
this is leftover from caching
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 14:35:14 +0000 (10:35 -0400)]
zink: add more zink_descriptor_type enum values to improve readability
the values are still the same, but now enum names can be used to more
accurately reflect their actual meaning
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 14:26:48 +0000 (10:26 -0400)]
zink: ZINK_DESCRIPTOR_TYPES -> ZINK_DESCRIPTOR_BASE_TYPES
slightly more clear
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Mike Blumenkrantz [Thu, 20 Oct 2022 14:15:46 +0000 (10:15 -0400)]
zink: rename some variables in descriptor code
this is more accurate
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205>
Qiang Yu [Thu, 16 Jun 2022 08:19:46 +0000 (16:19 +0800)]
radeonsi: implement nir shader query enabled intrinsics
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17457>
Qiang Yu [Thu, 16 Jun 2022 08:12:13 +0000 (16:12 +0800)]
radeonsi: implement llvm abi atomic_add_prim_count
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17457>
Qiang Yu [Fri, 1 Jul 2022 03:38:00 +0000 (11:38 +0800)]
ac/nir/ngg: add streamout emitted primitive query
For radeonsi to implement GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17457>
Qiang Yu [Wed, 15 Jun 2022 08:50:13 +0000 (16:50 +0800)]
ac/nir/ngg: add query param to ac_nir_lower_ngg_gs
radeonsi may disable it. gfx_level will also be used by latter
vertex param export when gfx11.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17457>
Qiang Yu [Tue, 25 Oct 2022 06:20:04 +0000 (14:20 +0800)]
nir: add nir_load_prim_xfb_query_enabled_amd
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17457>