Searched refs:spirvDesc (Results 1 – 2 of 2) sorted by relevance
996 const ShaderModuleSPIRVDescriptor* spirvDesc = nullptr; in ValidateShaderModuleDescriptor() local997 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() local1177 FindInChain(descriptor->nextInChain, &spirvDesc); in ShaderModuleBase()1180 ASSERT(spirvDesc || wgslDesc); in ShaderModuleBase()[all …]
44 wgpu::ShaderModuleSPIRVDescriptor spirvDesc; in CreateShaderModuleFromASM() local45 spirvDesc.codeSize = static_cast<uint32_t>(spirv->wordCount); in CreateShaderModuleFromASM()46 spirvDesc.code = spirv->code; in CreateShaderModuleFromASM()49 descriptor.nextInChain = &spirvDesc; in CreateShaderModuleFromASM()