/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 383 float depthBias = 0.0f; in generateReferenceImage() local 403 depthBias = kMaxDepthSlope * depthBiasSlopeFactor + r * depthBiasConstantFactor; in generateReferenceImage() 407 depthBias = de::max(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 409 depthBias = de::min(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 412 depthBias *= -1.0f; in generateReferenceImage() 438 const float depthClamped = de::clamp(depth + depthBias, 0.0f, 1.0f); in generateReferenceImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 383 float depthBias = 0.0f; in generateReferenceImage() local 403 depthBias = kMaxDepthSlope * depthBiasSlopeFactor + r * depthBiasConstantFactor; in generateReferenceImage() 407 depthBias = de::max(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 409 depthBias = de::min(depthBias, m_params.depthBiasClamp); in generateReferenceImage() 412 depthBias *= -1.0f; in generateReferenceImage() 438 const float depthClamped = de::clamp(depth + depthBias, 0.0f, 1.0f); in generateReferenceImage()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireOptionalTests.cpp | 102 depthStencilState.depthBias = 0; in TEST_F() 160 desc->depthStencil->depthBias == 0 && in TEST_F()
|
H A D | WireArgumentTests.cpp | 131 depthStencilState.depthBias = 0;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | RenderPipelineGL.cpp | 307 float depthBias = GetDepthBias(); in ApplyNow() local 310 gl.PolygonOffsetClamp(slopeScale, depthBias, GetDepthBiasClamp()); in ApplyNow() 312 gl.PolygonOffset(slopeScale, depthBias); in ApplyNow()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | RenderPipeline.cpp | 661 mDepthStencil.depthBias = 0; in RenderPipelineBase() 802 return mDepthStencil.depthBias != 0 || mDepthStencil.depthBiasSlopeScale != 0; 807 return mDepthStencil.depthBias; 911 recorder.Record(desc.depthBias, desc.depthBiasSlopeScale, desc.depthBiasClamp); in ComputeContentHash() 988 stateA.depthBias != stateB.depthBias || in operator ()()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTestLog.cpp | 85 tcu::Vec4 depthBias; in LogImage() local 89 computePixelScaleBias(depthAccess, depthScale, depthBias); in LogImage() 93 m_bias = tcu::Vec4(depthBias.x(), stencilBias.x(), 0.0f, 0.0f); in LogImage()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | PixelProcessor.hpp | 99 bool depthBias; member
|
H A D | PixelProcessor.cpp | 112 state.depthBias = (pipelineState.getConstantDepthBias() != 0.0f) || (pipelineState.getSlopeDepthBias() != 0.0f); in update()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | ComboRenderPipelineDescriptor.cpp | 101 cDepthStencil.depthBias = 0; in ComboRenderPipelineDescriptor()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_dx.h | 1597 int32 depthBias; member 1624 int32 depthBias; member 1650 int32 depthBias; member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.h | 569 int32 depthBias, 790 int32 depthBias,
|
H A D | svga_cmd_vgpu10.c | 982 int32 depthBias, in SVGA3D_vgpu10_DefineRasterizerState() 999 depthBias); in SVGA3D_vgpu10_DefineRasterizerState() 1813 int32 depthBias, in SVGA3D_sm5_DefineRasterizerState_v2() 1831 depthBias); 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/angle2/src/libANGLE/renderer/metal/ |
H A D | mtl_command_buffer.h | 300 float depthBias, depthSlopeScale, depthClamp; member 337 RenderCommandEncoder &setDepthBias(float depthBias, float slopeScale, float clamp);
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Context.hpp | 438 float depthBias; member in sw::Context
|
H A D | Context.cpp | 280 depthBias = 0.0f; in init()
|
H A D | Renderer.cpp | 585 N += context->depthBias; in draw() 2635 context->depthBias = bias;
|
H A D | PixelProcessor.cpp | 1024 state.depthClamp = (context->depthBias != 0.0f) || (context->slopeDepthBias != 0.0f); in update()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthBiasTests.cpp | 104 depthStencil->depthBias = bias; in RunDepthBiasTest() 126 // bias = depthBias * 2 ** (exponent(max z of primitive) - number of bits in mantissa) + 133 // depthBias = 0.25 / (2 ** (-2 - 23)) = 8388608
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | StateManager9.cpp | 864 float depthBias = ldexp(polygonOffsetUnits, -static_cast<int>(mCurDepthSize)); in setDepthBias() local 865 device->SetRenderState(D3DRS_DEPTHBIAS, *(DWORD *)&depthBias); in setDepthBias()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_wgpu.cpp | 608 depth_stencil_state.depthBias = 0; in ImGui_ImplWGPU_CreateDeviceObjects()
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
H A D | engine_dawn.cc | 1044 rasterizationState.depthBias = 0; in CreateRenderPipelineDescriptor() 1052 rasterizationState.depthBias = pipeline_data->GetEnableDepthBias(); in CreateRenderPipelineDescriptor()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | Converter.cpp | 543 Convert(out.depthBias, in.depthBias) && in Convert()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 2993 float depthBias = ldexp(mState.polygonOffsetUnits, -23); // We use 32-bit floating-point for all depth formats, with 23 mantissa bits. in applyState() local 2994 device->setDepthBias(depthBias); in applyState()
|
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A D | svga_dump.c | 1847 SVGA3D_DUMP_PARAMETER(depthBias, u); in SVGA3D_DUMP_HEADER()
|