/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationDepthBiasControlTests.cpp | 217 const float depthBiasClamp; member 240 testLog << tcu::TestLog::Message << "Depth bias clamp: " << depthBiasClamp << tcu::TestLog::EndMessage; in log() 442 const float depthBiasClamp = m_params.depthBiasClamp; in iterate() local 451 << tcu::TestLog::Message << "depthBiasClamp: " << depthBiasClamp << tcu::TestLog::EndMessage in iterate() 469 (setStatically ? depthBiasClamp : 0.0f), // float depthBiasClamp; in iterate() 544 ctx.vkd.cmdSetDepthBias(rpCmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in iterate() 555 depthBiasClamp, // floa in iterate() 804 float depthBiasClamp = 0.0f; createDepthBiasControlTests() local 840 depthBiasClamp, createDepthBiasControlTests() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 67 float depthBiasClamp; member 300 m_params.depthBiasEnable ? m_params.depthBiasClamp : 0.0f, // depthBiasClamp in InvertedDepthRangesTestInstance() 405 // dbclamp(x) function depends on the sign of the depthBiasClamp in generateReferenceImage() 406 if (m_params.depthBiasClamp < 0.0f) in generateReferenceImage() 407 depthBias = de::max(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 408 else if (m_params.depthBiasClamp > 0.0f) in generateReferenceImage() 409 depthBias = de::min(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 718 if (m_params.depthBiasEnable && m_params.depthBiasClamp != 0.0f) in checkSupport() 754 float depthBiasClamp; in populateTestGroup() member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 67 float depthBiasClamp; member 300 m_params.depthBiasEnable ? m_params.depthBiasClamp : 0.0f, // depthBiasClamp in InvertedDepthRangesTestInstance() 405 // dbclamp(x) function depends on the sign of the depthBiasClamp in generateReferenceImage() 406 if (m_params.depthBiasClamp < 0.0f) in generateReferenceImage() 407 depthBias = de::max(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 408 else if (m_params.depthBiasClamp > 0.0f) in generateReferenceImage() 409 depthBias = de::min(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 718 if (m_params.depthBiasEnable && m_params.depthBiasClamp != 0.0f) in checkSupport() 754 float depthBiasClamp; in populateTestGroup() member [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Context.hpp | 125 float depthBiasClamp = 0.0f; member 158 inline float getDepthBiasClamp() const { return depthBiasClamp; } in getDepthBiasClamp() 227 float depthBiasClamp = 0.0f; member
|
H A D | Context.cpp | 335 depthBiasClamp = (rasterizationState->depthBiasEnable != VK_FALSE) ? rasterizationState->depthBiasClamp : 0.0f; in GraphicsState() 344 // * x depthBiasClamp = 0 or NaN in GraphicsState() 345 // * min(x, depthBiasClamp) depthBiasClamp > 0 in GraphicsState() 346 // * max(x, depthBiasClamp) depthBiasClamp < 0 in GraphicsState() 348 if(std::isnan(depthBiasClamp)) in GraphicsState() 350 depthBiasClamp = 0.0f; in GraphicsState() 672 combinedState.depthBiasClamp [all...] |
H A D | Renderer.hpp | 93 float depthBiasClamp; member
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | RenderPipeline.cpp | 287 std::isnan(descriptor->depthBiasClamp), in ValidateDepthStencilState() 288 "Either depthBiasSlopeScale (%f) or depthBiasClamp (%f) is NaN.", in ValidateDepthStencilState() 289 descriptor->depthBiasSlopeScale, descriptor->depthBiasClamp); in ValidateDepthStencilState() 663 mDepthStencil.depthBiasClamp = 0.0f; in RenderPipelineBase() 817 return mDepthStencil.depthBiasClamp; 911 recorder.Record(desc.depthBias, desc.depthBiasSlopeScale, desc.depthBiasClamp); in ComputeContentHash() 983 ASSERT(!std::isnan(stateA.depthBiasClamp)); in operator ()() 984 ASSERT(!std::isnan(stateB.depthBiasClamp)); in operator ()() 990 stateA.depthBiasClamp != stateB.depthBiasClamp) { in operator ()() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireOptionalTests.cpp | 104 depthStencilState.depthBiasClamp = 0.0; in TEST_F() 162 desc->depthStencil->depthBiasClamp == 0.0; in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.cpp | 322 CmdSetDepthBias(float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) in CmdSetDepthBias() argument 324 , depthBiasClamp(depthBiasClamp) in CmdSetDepthBias() 332 executionState.dynamicState.depthBiasClamp = depthBiasClamp; 340 const float depthBiasClamp; member in __anon22994::CmdSetDepthBias 1453 void CommandBuffer::setDepthBias(float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) in setDepthBias() argument 1455 addCommand<::CmdSetDepthBias>(depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in setDepthBias()
|
H A D | VkCommandBuffer.hpp | 93 void setDepthBias(float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateBaseClass.hpp | 76 const float depthBiasClamp = 0.0f,
|
H A D | vktDynamicStateBaseClass.cpp | 363 const float depthBiasClamp, in setDynamicRasterizationState() 367 m_vk.cmdSetDepthBias(*m_cmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in setDynamicRasterizationState() 361 setDynamicRasterizationState(const float lineWidth, const float depthBiasConstantFactor, const float depthBiasClamp, const float depthBiasSlopeFactor) setDynamicRasterizationState() argument
|
H A D | vktDynamicStateRSTests.cpp | 442 const float depthBiasClamp = 0.0f, in setDynamicRasterizationState() 446 m_vk.cmdSetDepthBias(*m_cmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in setDynamicRasterizationState() 816 float depthBiasClamp; member 866 if (m_params.depthBiasClamp != 0.0f) in checkSupport() 1104 0.0f, // float depthBiasClamp in iterate() 1167 vkd.cmdSetDepthBias(cmdBuffer, m_params.depthBiasConstant, m_params.depthBiasClamp, 0.0f); in iterate() 1280 0.0f, // float depthBiasClamp; in init() 1295 0.125f, // float depthBiasClamp; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateBaseClass.hpp | 73 const float depthBiasClamp = 0.0f,
|
H A D | vktDynamicStateBaseClass.cpp | 326 const float depthBiasClamp, in setDynamicRasterizationState() 330 m_vk.cmdSetDepthBias(*m_cmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in setDynamicRasterizationState() 324 setDynamicRasterizationState(const float lineWidth, const float depthBiasConstantFactor, const float depthBiasClamp, const float depthBiasSlopeFactor) setDynamicRasterizationState() argument
|
H A D | vktDynamicStateRSTests.cpp | 413 const float depthBiasClamp = 0.0f, in setDynamicRasterizationState() 417 m_vk.cmdSetDepthBias(*m_cmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); in setDynamicRasterizationState() 787 float depthBiasClamp; member 837 if (m_params.depthBiasClamp != 0.0f) in checkSupport() 1072 0.0f, // float depthBiasClamp in iterate() 1124 vkd.cmdSetDepthBias(cmdBuffer, m_params.depthBiasConstant, m_params.depthBiasClamp, 0.0f); in iterate() 1238 0.0f, // float depthBiasClamp; in init() 1253 0.125f, // float depthBiasClamp; in init()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | ComboRenderPipelineDescriptor.cpp | 103 cDepthStencil.depthBiasClamp = 0.0; in ComboRenderPipelineDescriptor()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_dx.h | 1598 float depthBiasClamp; member 1625 float depthBiasClamp; member 1651 float depthBiasClamp; member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.h | 570 float depthBiasClamp, 791 float depthBiasClamp,
|
H A D | svga_cmd_vgpu10.c | 983 float depthBiasClamp, in SVGA3D_vgpu10_DefineRasterizerState() 1000 SVGA3D_COPY_BASIC_6(depthBiasClamp, slopeScaledDepthBias, in SVGA3D_vgpu10_DefineRasterizerState() 1814 float depthBiasClamp, in SVGA3D_sm5_DefineRasterizerState_v2() 1832 SVGA3D_COPY_BASIC_6(depthBiasClamp, slopeScaledDepthBias, in SVGA3D_sm5_DefineRasterizerState_v2() 977 SVGA3D_vgpu10_DefineRasterizerState(struct svga_winsys_context *swc, SVGA3dRasterizerStateId rasterizerId, uint8 fillMode, SVGA3dCullMode cullMode, uint8 frontCounterClockwise, int32 depthBias, float depthBiasClamp, float slopeScaledDepthBias, uint8 depthClipEnable, uint8 scissorEnable, uint8 multisampleEnable, uint8 antialiasedLineEnable, float lineWidth, uint8 lineStippleEnable, uint8 lineStippleFactor, uint16 lineStipplePattern, uint8 provokingVertexLast) SVGA3D_vgpu10_DefineRasterizerState() argument 1808 SVGA3D_sm5_DefineRasterizerState_v2(struct svga_winsys_context *swc, SVGA3dRasterizerStateId rasterizerId, uint8 fillMode, SVGA3dCullMode cullMode, uint8 frontCounterClockwise, int32 depthBias, float depthBiasClamp, float slopeScaledDepthBias, uint8 depthClipEnable, uint8 scissorEnable, uint8 multisampleEnable, uint8 antialiasedLineEnable, float lineWidth, uint8 lineStippleEnable, uint8 lineStippleFactor, uint16 lineStipplePattern, uint8 provokingVertexLast, uint32 forcedSampleCount) SVGA3D_sm5_DefineRasterizerState_v2() argument
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthBiasTests.cpp | 106 depthStencil->depthBiasClamp = biasClamp; in RunDepthBiasTest()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | AdapterVk.cpp | 110 if (!mDeviceInfo.features.depthBiasClamp) { in InitializeSupportedFeaturesImpl() 111 return DAWN_INTERNAL_ERROR("Vulkan depthBiasClamp feature required."); in InitializeSupportedFeaturesImpl()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_blit2d.c | 711 .depthBiasClamp = 0.0f, in blit2d_init_color_pipeline() 845 .depthBiasClamp = 0.0f, in blit2d_init_depth_only_pipeline() 1002 .depthBiasClamp = 0.0f, in blit2d_init_stencil_only_pipeline()
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
H A D | config_helper_vulkan.cc | 130 } else if (name == "depthBiasClamp") { in NamesToVulkanFeatures() 131 features->depthBiasClamp = VK_TRUE; in NamesToVulkanFeatures() 332 if (available_features.depthBiasClamp == VK_FALSE && in AreAllRequiredFeaturesSupported() 333 required_features.depthBiasClamp == VK_TRUE) { in AreAllRequiredFeaturesSupported()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_cmd_buffer.c | 286 float depthBiasClamp, in panvk_CmdSetDepthBias() 292 cmdbuf->state.rast.depth_bias.clamp = depthBiasClamp; in panvk_CmdSetDepthBias() 284 panvk_CmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) panvk_CmdSetDepthBias() argument
|