mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
Converting to Atomic-Free Plain to Constructible
The language in the spec and details of the restriction have changed, https://github.com/gpuweb/gpuweb/pull/1876. BUG=tint:928 Change-Id: Ib9f4d5e785bb5e04d63e880fe8984a8683d759f0 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57260 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
26b6edc545
commit
2f258d1bf8
@@ -38,8 +38,8 @@ std::string DisableValidationDecoration::InternalName() const {
|
||||
return "disable_validation__ignore_storage_class";
|
||||
case DisabledValidation::kEntryPointParameter:
|
||||
return "disable_validation__entry_point_parameter";
|
||||
case DisabledValidation::kIgnoreAtomicFunctionParameter:
|
||||
return "disable_validation__ignore_atomic_function_parameter";
|
||||
case DisabledValidation::kIgnoreConstructibleFunctionParameter:
|
||||
return "disable_validation__ignore_constructible_function_parameter";
|
||||
}
|
||||
return "<invalid>";
|
||||
}
|
||||
|
||||
@@ -38,8 +38,8 @@ enum class DisabledValidation {
|
||||
/// check for entry IO decorations.
|
||||
kEntryPointParameter,
|
||||
/// When applied to a function parameter, the validator will not
|
||||
/// check if parameter type is atomic-free
|
||||
kIgnoreAtomicFunctionParameter,
|
||||
/// check if parameter type is constructible
|
||||
kIgnoreConstructibleFunctionParameter,
|
||||
};
|
||||
|
||||
/// An internal decoration used to tell the validator to ignore specific
|
||||
|
||||
Reference in New Issue
Block a user