radeonsi: document a missing synchronization for bindless textures
authorMarek Olšák <marek.olsak@amd.com>
Thu, 15 Jul 2021 15:39:20 +0000 (11:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Jul 2021 23:08:00 +0000 (23:08 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11900>

src/gallium/drivers/radeonsi/si_compute.c

index 4a4e403..37dc9cd 100644 (file)
@@ -857,6 +857,8 @@ static bool si_check_needs_implicit_sync(struct si_context *sctx)
     *
     *    buffer object and texture stores performed by shaders are not
     *    automatically synchronized
+    *
+    * TODO: Bindless textures are not handled, and thus are not synchronized.
     */
    struct si_shader_info *info = &sctx->cs_shader_state.program->sel.info;
    struct si_samplers *samplers = &sctx->samplers[PIPE_SHADER_COMPUTE];