Home
last modified time | relevance | path

Searched refs:IsToggleEnabled (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DComputePipelineD3D12.cpp37 if (!device->IsToggleEnabled(Toggle::UseDXC) && in Initialize()
38 !device->IsToggleEnabled(Toggle::FxcOptimizations)) { in Initialize()
42 if (device->IsToggleEnabled(Toggle::EmitHLSLDebugSymbols)) { in Initialize()
DShaderModuleD3D12.cpp222 if (device->IsToggleEnabled(Toggle::UseDXC)) { in Create()
306 device->IsToggleEnabled(Toggle::DisableSymbolRenaming); in Create()
311 device->IsToggleEnabled(Toggle::DisableWorkgroupInit); in Create()
809 device->IsToggleEnabled(Toggle::UseDXC) ? device->GetDxcLibrary().Get() in Compile()
811 device->IsToggleEnabled(Toggle::UseDXC) ? device->GetDxcCompiler().Get() in Compile()
813 std::move(request), device->IsToggleEnabled(Toggle::DumpShaders), in Compile()
DShaderVisibleDescriptorAllocatorD3D12.cpp93 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting))) { in ShaderVisibleDescriptorAllocator()
178 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting)); in AllocateAndSwitchShaderVisibleHeap()
DRenderPipelineD3D12.cpp329 if (!device->IsToggleEnabled(Toggle::UseDXC) && in Initialize()
330 !device->IsToggleEnabled(Toggle::FxcOptimizations)) { in Initialize()
334 if (device->IsToggleEnabled(Toggle::EmitHLSLDebugSymbols)) { in Initialize()
DNativeSwapChainImplD3D12.cpp62 mInterval = mDevice->IsToggleEnabled(Toggle::TurnOffVsync) == true ? 0 : 1; in Configure()
DBufferD3D12.cpp161 if (GetDevice()->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Initialize()
171 if (GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) && in Initialize()
DResidencyManagerD3D12.cpp28 device->IsToggleEnabled(Toggle::UseD3D12ResidencyManagement)) { in ResidencyManager()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.mm102 GetDevice()->IsToggleEnabled(Toggle::MetalEnableVertexPulling)) {
126 if (GetDevice()->IsToggleEnabled(Toggle::DisableSymbolRenaming)) {
146 DAWN_INVALID_IF(!GetDevice()->IsToggleEnabled(Toggle::DisableSymbolRenaming),
158 options.disable_workgroup_init = GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit);
206 if (GetDevice()->IsToggleEnabled(Toggle::DumpShaders)) {
256 if (GetDevice()->IsToggleEnabled(Toggle::MetalEnableVertexPulling) &&
DBufferMTL.mm120 if (GetDevice()->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) &&
128 if (GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) &&
DSamplerMTL.mm58 device->IsToggleEnabled(Toggle::MetalDisableSamplerCompare),
DQuerySetMTL.mm47 if (device->IsToggleEnabled(Toggle::MetalUseSharedModeForCounterSampleBuffer)) {
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp41 mDisableBaseVertex(device->IsToggleEnabled(Toggle::DisableBaseVertex)), in RenderEncoderBase()
42 mDisableBaseInstance(device->IsToggleEnabled(Toggle::DisableBaseInstance)) { in RenderEncoderBase()
52 mDisableBaseVertex(device->IsToggleEnabled(Toggle::DisableBaseVertex)), in RenderEncoderBase()
53 mDisableBaseInstance(device->IsToggleEnabled(Toggle::DisableBaseInstance)) { in RenderEncoderBase()
DQuerySet.cpp61 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor()
84 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor()
DBuffer.cpp241 if (device->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse)) { in MapAtCreation()
245 } else if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting)) { in MapAtCreation()
545 GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse); in NeedsInitialization()
DPipeline.cpp48 if (constantCount > 0u && device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs)) { in ValidateProgrammableStage()
DDevice.cpp246 if (IsToggleEnabled(Toggle::UseDummyFragmentInVertexOnlyPipeline)) { in Initialize()
1160 return !IsToggleEnabled(Toggle::SkipValidation); in IsValidationEnabled()
1164 return !IsToggleEnabled(Toggle::DisableRobustness); in IsRobustnessEnabled()
1572 bool DeviceBase::IsToggleEnabled(Toggle toggle) const { in IsToggleEnabled() function in dawn_native::DeviceBase
DShaderModule.cpp634 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ReflectShaderUsingTint()
1005 if (spirvDesc && device->IsToggleEnabled(Toggle::ForceWGSLStep)) { in ValidateShaderModuleDescriptor()
1022 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowSpirv), in ValidateShaderModuleDescriptor()
1032 if (device->IsToggleEnabled(Toggle::DumpShaders)) { in ValidateShaderModuleDescriptor()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp126 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
226 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
267 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
299 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
437 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
511 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
599 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
660 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
740 DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp253 options.disable_workgroup_init = GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit); in Initialize()
279 GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit); in TranslateToGLSL()
286 ValidateSpirv(GetDevice(), spirv, GetDevice()->IsToggleEnabled(Toggle::DumpShaders))); in TranslateToGLSL()
390 if (GetDevice()->IsToggleEnabled(Toggle::DumpShaders)) { in TranslateToGLSL()
DBufferGL.cpp46 if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Buffer()
DTextureGL.cpp176 if (GetDevice()->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting)) { in Texture()
523 if (!GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse)) { in EnsureSubresourceContentInitialized()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp169 options.disable_workgroup_init = GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit); in GetTransformedModuleHandle()
176 ValidateSpirv(GetDevice(), spirv, GetDevice()->IsToggleEnabled(Toggle::DumpShaders))); in GetTransformedModuleHandle()
DBufferVk.cpp217 if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Initialize()
223 if (device->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) && !mappedAtCreation) { in Initialize()
DNativeSwapChainImplVk.cpp91 if (!ChooseSurfaceConfig(mInfo, &mConfig, mDevice->IsToggleEnabled(Toggle::TurnOffVsync))) { in UpdateSurfaceConfig()
/third_party/skia/third_party/externals/dawn/docs/
Ddevice_facilities.md60 Toggles can be queried using `DeviceBase::IsToggleEnabled`:
62 bool useRenderPass = device->IsToggleEnabled(Toggle::UseD3D12RenderPass);

12