/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ComputePipelineD3D12.cpp | 37 if (!device->IsToggleEnabled(Toggle::UseDXC) && in Initialize() 38 !device->IsToggleEnabled(Toggle::FxcOptimizations)) { in Initialize() 42 if (device->IsToggleEnabled(Toggle::EmitHLSLDebugSymbols)) { in Initialize()
|
D | ShaderModuleD3D12.cpp | 222 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()
|
D | ShaderVisibleDescriptorAllocatorD3D12.cpp | 93 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting))) { in ShaderVisibleDescriptorAllocator() 178 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting)); in AllocateAndSwitchShaderVisibleHeap()
|
D | RenderPipelineD3D12.cpp | 329 if (!device->IsToggleEnabled(Toggle::UseDXC) && in Initialize() 330 !device->IsToggleEnabled(Toggle::FxcOptimizations)) { in Initialize() 334 if (device->IsToggleEnabled(Toggle::EmitHLSLDebugSymbols)) { in Initialize()
|
D | NativeSwapChainImplD3D12.cpp | 62 mInterval = mDevice->IsToggleEnabled(Toggle::TurnOffVsync) == true ? 0 : 1; in Configure()
|
D | BufferD3D12.cpp | 161 if (GetDevice()->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Initialize() 171 if (GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) && in Initialize()
|
D | ResidencyManagerD3D12.cpp | 28 device->IsToggleEnabled(Toggle::UseD3D12ResidencyManagement)) { in ResidencyManager()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | ShaderModuleMTL.mm | 102 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) &&
|
D | BufferMTL.mm | 120 if (GetDevice()->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && 128 if (GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) &&
|
D | SamplerMTL.mm | 58 device->IsToggleEnabled(Toggle::MetalDisableSamplerCompare),
|
D | QuerySetMTL.mm | 47 if (device->IsToggleEnabled(Toggle::MetalUseSharedModeForCounterSampleBuffer)) {
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderEncoderBase.cpp | 41 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()
|
D | QuerySet.cpp | 61 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor() 84 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor()
|
D | Buffer.cpp | 241 if (device->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse)) { in MapAtCreation() 245 } else if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting)) { in MapAtCreation() 545 GetDevice()->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse); in NeedsInitialization()
|
D | Pipeline.cpp | 48 if (constantCount > 0u && device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs)) { in ValidateProgrammableStage()
|
D | Device.cpp | 246 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
|
D | ShaderModule.cpp | 634 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/ |
D | D3D12DescriptorHeapTests.cpp | 126 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/ |
D | ShaderModuleGL.cpp | 253 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()
|
D | BufferGL.cpp | 46 if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Buffer()
|
D | TextureGL.cpp | 176 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/ |
D | ShaderModuleVk.cpp | 169 options.disable_workgroup_init = GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit); in GetTransformedModuleHandle() 176 ValidateSpirv(GetDevice(), spirv, GetDevice()->IsToggleEnabled(Toggle::DumpShaders))); in GetTransformedModuleHandle()
|
D | BufferVk.cpp | 217 if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Initialize() 223 if (device->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) && !mappedAtCreation) { in Initialize()
|
D | NativeSwapChainImplVk.cpp | 91 if (!ChooseSurfaceConfig(mInfo, &mConfig, mDevice->IsToggleEnabled(Toggle::TurnOffVsync))) { in UpdateSurfaceConfig()
|
/third_party/skia/third_party/externals/dawn/docs/ |
D | device_facilities.md | 60 Toggles can be queried using `DeviceBase::IsToggleEnabled`: 62 bool useRenderPass = device->IsToggleEnabled(Toggle::UseD3D12RenderPass);
|