Home
last modified time | relevance | path

Searched refs:depthBias (Results 1 – 25 of 36) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInvertedDepthRangesTests.cpp416 float depthBias = 0.0f; in generateReferenceImage() local
436 depthBias = kMaxDepthSlope * depthBiasSlopeFactor + r * depthBiasConstantFactor; in generateReferenceImage()
440 depthBias = de::max(depthBias, m_params.depthBiasClamp); in generateReferenceImage()
442 depthBias = de::min(depthBias, m_params.depthBiasClamp); in generateReferenceImage()
445 depthBias *= -1.0f; in generateReferenceImage()
471 const float depthClamped = de::clamp(depth + depthBias, 0.0f, 1.0f); in generateReferenceImage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
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/tests/unittests/wire/
DWireOptionalTests.cpp102 depthStencilState.depthBias = 0; in TEST_F()
160 desc->depthStencil->depthBias == 0 && in TEST_F()
DWireArgumentTests.cpp131 depthStencilState.depthBias = 0; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp661 mDepthStencil.depthBias = 0; in RenderPipelineBase()
802 return mDepthStencil.depthBias != 0 || mDepthStencil.depthBiasSlopeScale != 0; in IsDepthBiasEnabled()
807 return mDepthStencil.depthBias; in GetDepthBias()
911 recorder.Record(desc.depthBias, desc.depthBiasSlopeScale, desc.depthBiasClamp); in ComputeContentHash()
988 stateA.depthBias != stateB.depthBias || in operator ()()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp75 cRasterizationState.depthBias = 0; in ComboRenderPipelineDescriptor()
/third_party/vk-gl-cts/framework/common/
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/
DPixelProcessor.hpp99 bool depthBias; member
DPixelProcessor.cpp112 …state.depthBias = (pipelineState.getConstantDepthBias() != 0.0f) || (pipelineState.getSlopeDepthBi… in update()
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp101 cDepthStencil.depthBias = 0; in ComboRenderPipelineDescriptor()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCHelloTriangle.cpp109 rasterizationState.depthBias = 0; in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm125 float depthBias = stream->fetch<float>();
128 [encoder setDepthBias:depthBias slopeScale:slopeScale clamp:clamp];
994 depthBias = depthSlopeScale = depthClamp = 0;
1379 RenderCommandEncoder &RenderCommandEncoder::setDepthBias(float depthBias,
1383 if (mStateCache.depthBias == depthBias && mStateCache.depthSlopeScale == slopeScale &&
1388 mStateCache.depthBias = depthBias;
1392 mCommands.push(CmdType::SetDepthBias).push(depthBias).push(slopeScale).push(clamp);
Dmtl_command_buffer.h300 float depthBias, depthSlopeScale, depthClamp; member
337 RenderCommandEncoder &setDepthBias(float depthBias, float slopeScale, float clamp);
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp607 HashCombine(&hash, desc.depthBias, desc.depthBiasSlopeScale, desc.depthBiasClamp); in operator ()()
715 if (descA.depthBias != descB.depthBias || in operator ()()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireOptionalTests.cpp101 rasterizationState.depthBias = 0; in TEST_F()
DWireArgumentTests.cpp131 rasterizationState.depthBias = 0; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthBiasTests.cpp104 depthStencil->depthBias = bias; in RunDepthBiasTest()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h1305 int32 depthBias; member
1334 int32 depthBias; member
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DContext.hpp438 float depthBias; member in sw::Context
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp864 float depthBias = ldexp(polygonOffsetUnits, -static_cast<int>(mCurDepthSize)); in setDepthBias() local
865 device->SetRenderState(D3DRS_DEPTHBIAS, *(DWORD *)&depthBias); in setDepthBias()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp863 float depthBias = ldexp(polygonOffsetUnits, -static_cast<int>(mCurDepthSize)); in setDepthBias() local
864 device->SetRenderState(D3DRS_DEPTHBIAS, *(DWORD *)&depthBias); in setDepthBias()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.h569 int32 depthBias,
Dsvga_cmd_vgpu10.c975 int32 depthBias, in SVGA3D_vgpu10_DefineRasterizerState() argument
992 depthBias); in SVGA3D_vgpu10_DefineRasterizerState()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dstate.h1080 float depthBias; member
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.cpp389 rastDesc.depthBias = 0; in applyState()

12