Home
last modified time | relevance | path

Searched refs:spirvDesc (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp996 const ShaderModuleSPIRVDescriptor* spirvDesc = nullptr; in ValidateShaderModuleDescriptor() local
997 FindInChain(chainedDescriptor, &spirvDesc); in ValidateShaderModuleDescriptor()
1005 if (spirvDesc && device->IsToggleEnabled(Toggle::ForceWGSLStep)) { in ValidateShaderModuleDescriptor()
1006 std::vector<uint32_t> spirv(spirvDesc->code, spirvDesc->code + spirvDesc->codeSize); in ValidateShaderModuleDescriptor()
1017 spirvDesc = nullptr; in ValidateShaderModuleDescriptor()
1021 if (spirvDesc) { in ValidateShaderModuleDescriptor()
1025 std::vector<uint32_t> spirv(spirvDesc->code, spirvDesc->code + spirvDesc->codeSize); in ValidateShaderModuleDescriptor()
1176 const ShaderModuleSPIRVDescriptor* spirvDesc = nullptr; in ShaderModuleBase() local
1177 FindInChain(descriptor->nextInChain, &spirvDesc); in ShaderModuleBase()
1180 ASSERT(spirvDesc || wgslDesc); in ShaderModuleBase()
[all …]
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp44 wgpu::ShaderModuleSPIRVDescriptor spirvDesc; in CreateShaderModuleFromASM() local
45 spirvDesc.codeSize = static_cast<uint32_t>(spirv->wordCount); in CreateShaderModuleFromASM()
46 spirvDesc.code = spirv->code; in CreateShaderModuleFromASM()
49 descriptor.nextInChain = &spirvDesc; in CreateShaderModuleFromASM()