intel/clc: disable tool prior to Gfx12.5 platforms

This tool is currently only aimed at Gfx version 12.5+ with
COMPUTE_WALKER. We could make it work on earlier platforms but they
require pushing gl_SubgroupInvocation and the CLC code is missing the
back-end compiler set-up bits for that.

v2: Commit description by Jason

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13171>
This commit is contained in:
Lionel Landwerlin
2021-07-30 16:25:23 +03:00
committed by Marge Bot
parent c735c4ca85
commit 9ca29c687b

View File

@@ -356,6 +356,11 @@ int main(int argc, char **argv)
return -1;
}
if (devinfo->verx10 < 125) {
fprintf(stderr, "Platform currently not supported.\n");
return -1;
}
if (entry_point == NULL) {
fprintf(stderr, "No entry-point name specified.\n");
print_usage(argv[0], stderr);