[tint] Add missing members to a few TINT_REFLECT macros.
Bug:
Change-Id: I192a8ef114c69af604be9e8cf8965fc3d6228d8c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/238535
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/tint/lang/core/ir/transform/builtin_polyfill.h b/src/tint/lang/core/ir/transform/builtin_polyfill.h
index a3e6c5e..17c6206 100644
--- a/src/tint/lang/core/ir/transform/builtin_polyfill.h
+++ b/src/tint/lang/core/ir/transform/builtin_polyfill.h
@@ -92,15 +92,20 @@
clamp_int,
count_leading_zeros,
count_trailing_zeros,
+ degrees,
extract_bits,
first_leading_bit,
first_trailing_bit,
+ fwidth_fine,
insert_bits,
+ radians,
+ reflect_vec2_f32,
saturate,
texture_sample_base_clamp_to_edge_2d_f32,
dot_4x8_packed,
pack_unpack_4x8,
- pack_4xu8_clamp);
+ pack_4xu8_clamp,
+ pack_unpack_4x8_norm);
};
/// BuiltinPolyfill is a transform that replaces calls to builtin functions and uses of other core
diff --git a/src/tint/lang/core/ir/transform/direct_variable_access.h b/src/tint/lang/core/ir/transform/direct_variable_access.h
index da92c94..66d93c8 100644
--- a/src/tint/lang/core/ir/transform/direct_variable_access.h
+++ b/src/tint/lang/core/ir/transform/direct_variable_access.h
@@ -54,7 +54,10 @@
bool transform_handle = false;
/// Reflection for this class
- TINT_REFLECT(DirectVariableAccessOptions, transform_private, transform_function);
+ TINT_REFLECT(DirectVariableAccessOptions,
+ transform_private,
+ transform_function,
+ transform_handle);
};
/// DirectVariableAccess is a transform that transforms parameters in the 'storage',
diff --git a/src/tint/lang/core/ir/transform/prepare_push_constants.h b/src/tint/lang/core/ir/transform/prepare_push_constants.h
index 6067b24..b587b58 100644
--- a/src/tint/lang/core/ir/transform/prepare_push_constants.h
+++ b/src/tint/lang/core/ir/transform/prepare_push_constants.h
@@ -77,9 +77,6 @@
/// The ordered map from offset to internally used constant descriptor.
std::map<uint32_t, InternalPushConstant> internal_constants{};
-
- /// Reflection for this class.
- TINT_REFLECT(PreparePushConstantsConfig, internal_constants);
};
/// PreparePushConstants is a transform that sets up the structure and variable used for push
diff --git a/src/tint/lang/glsl/writer/common/options.h b/src/tint/lang/glsl/writer/common/options.h
index 9d26b7e..e2f0cd6 100644
--- a/src/tint/lang/glsl/writer/common/options.h
+++ b/src/tint/lang/glsl/writer/common/options.h
@@ -108,7 +108,7 @@
}
/// Reflect the fields of this class so that it can be used by tint::ForeachField()
- TINT_REFLECT(CombinedTextureSamplerPair, texture, sampler);
+ TINT_REFLECT(CombinedTextureSamplerPair, texture, sampler, is_external_plane1);
};
} // namespace tint::glsl::writer::binding