Mesa (main): panfrost: Hide parts of pan_encoder.h for Valhall
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 15:24:27 UTC 2022
Module: Mesa
Branch: main
Commit: 3baceb0ca4be3d525a1aae023df44b34f4618d7f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3baceb0ca4be3d525a1aae023df44b34f4618d7f
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Tue Apr 5 12:33:10 2022 -0400
panfrost: Hide parts of pan_encoder.h for Valhall
These pertain to data structures that no longer exist.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15795>
---
src/panfrost/lib/pan_encoder.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/panfrost/lib/pan_encoder.h b/src/panfrost/lib/pan_encoder.h
index df953bd5e97..ce80ef9e85c 100644
--- a/src/panfrost/lib/pan_encoder.h
+++ b/src/panfrost/lib/pan_encoder.h
@@ -145,6 +145,7 @@ panfrost_flip_compare_func(enum mali_func f)
}
+#if PAN_ARCH <= 7
/* Compute shaders are invoked with a gl_NumWorkGroups X/Y/Z triplet. Vertex
* shaders are invoked as (1, vertex_count, instance_count). Compute shaders
* also have a gl_WorkGroupSize X/Y/Z triplet. These 6 values are packed
@@ -205,6 +206,7 @@ panfrost_pack_work_groups_compute(
MALI_SPLIT_MIN_EFFICIENT : cfg.workgroups_x_shift;
}
}
+#endif
#if PAN_ARCH >= 5
/* Format conversion */
More information about the mesa-commit
mailing list