Brian Paul
dd9b013bf5
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
b74b245c0d
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
0dfc90d81b
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
6954599821
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
416fcfc6e5
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
75d7bb2e16
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
fa65ab5c6f
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
8874c728e5
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
fe9296de34
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
17695f796b
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
7dd9c79b2d
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
ee71e0d83a
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
161d82c752
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
54b6ccc10c
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
bee11cdab2
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
7d0616d835
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
2ffb5b3688
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
0b12ad1f6a
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
c4b222b9cf
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
e72c735cde
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
6ef3881010
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
5131200c28
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
5a63484b35
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
49ab7d19bd
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
36df3d9b6f
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
b763db6015
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
bc2068ac49
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
2e55ee8c08
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
25e214cdb6
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
b522d9d233
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
4e58893275
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
a020052a0b
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
e368ea1725
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 >
2022-10-25 15:27:12 +00:00
Brian Paul
ae9d8dba19
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 >
2022-10-25 15:27:12 +00:00
Mike Blumenkrantz
fa7544959e
zink: add some docs for c++ pipeline state functions
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
59f560caa2
zink: add some descriptor docs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
82096c8301
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 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
a6fdf7f649
zink: delete unused descriptor function
...
this is leftover from caching
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
bff1f299d1
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 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
852de28579
zink: ZINK_DESCRIPTOR_TYPES -> ZINK_DESCRIPTOR_BASE_TYPES
...
slightly more clear
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205 >
2022-10-25 13:31:43 +00:00
Mike Blumenkrantz
6f65a272f6
zink: rename some variables in descriptor code
...
this is more accurate
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19205 >
2022-10-25 13:31:43 +00:00
Qiang Yu
cf74cf3901
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 >
2022-10-25 12:58:43 +00:00
Qiang Yu
01d26e13d1
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 >
2022-10-25 12:58:43 +00:00
Qiang Yu
540eafada1
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 >
2022-10-25 12:58:43 +00:00
Qiang Yu
188a7f9226
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 >
2022-10-25 12:58:43 +00:00
Qiang Yu
7fb506d068
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 >
2022-10-25 12:58:43 +00:00
Qiang Yu
a119a6464f
nir,ac,radv: add primitive count add intrinsics
...
radeonsi use shader buffer, but radv use gds for the query
result storage.
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 >
2022-10-25 12:58:43 +00:00
Samuel Pitoiset
e18f76d890
radv: disable dual source blending in more situations
...
According to PAL, there is more restrictions that RADV doesn't have.
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/19278 >
2022-10-25 12:22:34 +00:00
Pierre-Eric Pelloux-Prayer
df16fa43ff
radeonsi: handle sqtt pipeline in shader prefetch
...
When sqtt is enabled, the shader code lives in the pipeline bo,
not in the shader bo.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18865 >
2022-10-25 11:58:07 +00:00
Pierre-Eric Pelloux-Prayer
6189af1ddb
radeonsi: store the shader gpu adress in si_shader
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18865 >
2022-10-25 11:58:07 +00:00