aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorJon Lipstate <jon@lipstate.com>2025-07-16 21:54:24 -0700
committerJon Lipstate <jon@lipstate.com>2025-07-16 21:54:24 -0700
commitecd41b155db7a1ed93923ddc296fab1036e14392 (patch)
treed5fabdba2ea0316ddef4ef7bd77585f348b6d0fe /src/check_builtin.cpp
parentfc78f6e83bf800c76cd8ac86281359c91261dd89 (diff)
rename table_lookup to runtime_swizzle
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index c7386a97d..d786afb8e 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -1150,7 +1150,7 @@ gb_internal bool check_builtin_simd_operation(CheckerContext *c, Operand *operan
return true;
}
- case BuiltinProc_simd_table_lookup:
+ case BuiltinProc_simd_runtime_swizzle:
{
if (ce->args.count != 2) {
error(call, "'%.*s' expected 2 arguments, got %td", LIT(builtin_name), ce->args.count);
@@ -1163,7 +1163,7 @@ gb_internal bool check_builtin_simd_operation(CheckerContext *c, Operand *operan
check_expr_with_type_hint(c, &indices, ce->args[1], table.type); if (indices.mode == Addressing_Invalid) return false;
if (!is_type_simd_vector(table.type)) {
- error(table.expr, "'%.*s' expected a simd vector type for table", LIT(builtin_name));
+ error(table.expr, "'%.*s' expected a simd vector type for runtime swizzle", LIT(builtin_name));
return false;
}
if (!is_type_simd_vector(indices.type)) {