mesa/src/freedreno/vulkan
Chia-I Wu 6929ccedff turnip: shared_consts and push_consts are mutually exclusive
Skip gather_push_constants when shared consts are enabled.  This makes
sure push_consts is only zero-initialized, and reserved_user_consts is
0.  This saves some space in the const file.

This change also adds a few asserts and a comment to
lower_load_push_constant.  Because shared consts share the same range
for all stages, we should not apply per-stage offsets in
lower_load_push_constant.  It worked because nir_lower_explicit_io
always sets base to 0 for nir_var_mem_push_const and
shader->push_consts.lo was always 0 for all stages.

Fixes: 0c787d57e6 ("tu: increase maxPushConstantsSize to 256.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17777>
2022-07-29 16:22:43 +00:00
..
.clang-format
.dir-locals.el
.editorconfig
TODO
meson.build turnip: Simple breadcrumbs implementation to debug hangs 2022-07-28 08:48:39 +00:00
msm_kgsl.h turnip: Update the msm_kgsl.h header with the sanitized 4.19 version 2022-01-21 21:25:07 +00:00
tu_android.c turnip: Use vk_common_AcquireImageANDROID 2022-01-11 17:25:22 +00:00
tu_autotune.c tu: Use common vk_image struct 2022-07-27 19:40:44 +00:00
tu_autotune.h turnip: Move autotune buffers to suballoc. 2022-04-12 01:01:56 +00:00
tu_clear_blit.c tu: Use common vk_image struct 2022-07-27 19:40:44 +00:00
tu_cmd_buffer.c turnip: shared_consts and push_consts are mutually exclusive 2022-07-29 16:22:43 +00:00
tu_cs.c turnip: Allow nested CP_COND_REG_EXEC 2022-06-07 00:00:28 +00:00
tu_cs.h turnip: Simple breadcrumbs implementation to debug hangs 2022-07-28 08:48:39 +00:00
tu_cs_breadcrumbs.c turnip: Simple breadcrumbs implementation to debug hangs 2022-07-28 08:48:39 +00:00
tu_descriptor_set.c tu: Add debug option to use emulated renderpass support 2022-07-27 19:40:44 +00:00
tu_descriptor_set.h tu: Hash pipeline layout contents 2022-05-13 17:07:05 +00:00
tu_device.c turnip: expose support for VK_EXT_acquire_drm_display 2022-07-29 07:49:47 +00:00
tu_drm.c tu: Add support for suspending and resuming renderpasses 2022-07-27 19:40:44 +00:00
tu_dynamic_rendering.c tu: Add support for suspending and resuming renderpasses 2022-07-27 19:40:44 +00:00
tu_formats.c turnip: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
tu_image.c tu: Use common vk_image_view base struct 2022-07-27 19:40:44 +00:00
tu_kgsl.c tu: Add support for suspending and resuming renderpasses 2022-07-27 19:40:44 +00:00
tu_lrz.c tu: Use common vk_image struct 2022-07-27 19:40:44 +00:00
tu_nir_lower_multiview.c turnip: Convert fd_dev_info to const pointer 2021-07-14 01:58:00 +00:00
tu_pass.c tu: Add debug option to use emulated renderpass support 2022-07-27 19:40:44 +00:00
tu_perfetto.cc turnip/perfetto: handle gpu timestamps being non-monotonic 2022-01-27 18:59:43 +00:00
tu_perfetto.h turnip/perfetto: handle gpu timestamps being non-monotonic 2022-01-27 18:59:43 +00:00
tu_perfetto_util.c turnip: rename tu_drm_get_timestamp into tu_device_get_gpu_timestamp 2022-01-27 18:59:43 +00:00
tu_pipeline.c turnip: remove shared_consts from tu_compiled_shaders 2022-07-29 16:22:43 +00:00
tu_private.h turnip: remove shared_consts from tu_compiled_shaders 2022-07-29 16:22:43 +00:00
tu_query.c tu: Split out some state into a separate struct 2022-07-27 19:40:44 +00:00
tu_shader.c turnip: shared_consts and push_consts are mutually exclusive 2022-07-29 16:22:43 +00:00
tu_suballoc.c turnip: Sub-allocate pipelines out of a device-global BO pool. 2022-04-12 01:01:56 +00:00
tu_tracepoints.py turnip: Add TU_GPU_TRACEPOINT envvar to toggle tracepoints 2022-07-12 22:24:19 +00:00
tu_util.c turnip: Move binning decisions from FB usage time to FB creation time. 2022-06-07 00:00:28 +00:00
tu_util.h tu: Fix linemode for tessellation with isolines 2022-06-22 17:57:53 +00:00
tu_wsi.c turnip: Use the common QueuePresent implementation 2022-06-10 01:33:12 +00:00