mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
Check ShaderModuleDescriptor->nextInChain
Change-Id: Iffa7485b3a2dc43911c86ac614e7d99d737aaf6f
This commit is contained in:
parent
62c774391b
commit
0202250464
@ -23,7 +23,8 @@
|
||||
|
||||
namespace dawn_native {
|
||||
|
||||
MaybeError ValidateShaderModuleDescriptor(DeviceBase*, const ShaderModuleDescriptor*) {
|
||||
MaybeError ValidateShaderModuleDescriptor(DeviceBase*, const ShaderModuleDescriptor* descriptor) {
|
||||
DAWN_TRY_ASSERT(descriptor->nextInChain == nullptr, "nextInChain must be nullptr");
|
||||
// TODO(cwallez@chromium.org): Use spirv-val to check the module is well-formed
|
||||
return {};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user