Home
last modified time | relevance | path

Searched refs:depthBias (Results 1 - 25 of 28) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawInvertedDepthRangesTests.cpp383 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 DvktDrawInvertedDepthRangesTests.cpp383 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 DWireOptionalTests.cpp102 depthStencilState.depthBias = 0; in TEST_F()
160 desc->depthStencil->depthBias == 0 && in TEST_F()
H A DWireArgumentTests.cpp131 depthStencilState.depthBias = 0;
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DRenderPipelineGL.cpp307 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 DRenderPipeline.cpp661 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 DtcuTestLog.cpp85 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 DPixelProcessor.hpp99 bool depthBias; member
H A DPixelProcessor.cpp112 state.depthBias = (pipelineState.getConstantDepthBias() != 0.0f) || (pipelineState.getSlopeDepthBias() != 0.0f); in update()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderPipelineDescriptor.cpp101 cDepthStencil.depthBias = 0; in ComboRenderPipelineDescriptor()
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_dx.h1597 int32 depthBias; member
1624 int32 depthBias; member
1650 int32 depthBias; member
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.h569 int32 depthBias,
790 int32 depthBias,
H A Dsvga_cmd_vgpu10.c982 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 Dmtl_command_buffer.h300 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 DContext.hpp438 float depthBias; member in sw::Context
H A DContext.cpp280 depthBias = 0.0f; in init()
H A DRenderer.cpp585 N += context->depthBias; in draw()
2635 context->depthBias = bias;
H A DPixelProcessor.cpp1024 state.depthClamp = (context->depthBias != 0.0f) || (context->slopeDepthBias != 0.0f); in update()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthBiasTests.cpp104 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 DStateManager9.cpp864 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 Dimgui_impl_wgpu.cpp608 depth_stencil_state.depthBias = 0; in ImGui_ImplWGPU_CreateDeviceObjects()
/third_party/vk-gl-cts/external/amber/src/src/dawn/
H A Dengine_dawn.cc1044 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 DConverter.cpp543 Convert(out.depthBias, in.depthBias) && in Convert()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp2993 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 Dsvga_dump.c1847 SVGA3D_DUMP_PARAMETER(depthBias, u); in SVGA3D_DUMP_HEADER()

Completed in 39 milliseconds

12