Home
last modified time | relevance | path

Searched refs:cullMode (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp64 VkCullModeFlagBits cullMode; member
224 m_params.cullMode, // cullMode in NegativeViewportHeightTestInstance()
345 if (m_params.cullMode == VK_CULL_MODE_FRONT_BIT && isFrontFacing) in isCulled()
347 if (m_params.cullMode == VK_CULL_MODE_BACK_BIT && !isFrontFacing) in isCulled()
350 return m_params.cullMode == VK_CULL_MODE_FRONT_AND_BACK; in isCulled()
400 std::string getCullModeStr (const VkCullModeFlagBits cullMode) in getCullModeStr() argument
405 switch (cullMode) in getCullModeStr()
463 << "Cull mode: " << getCullModeStr (m_params.cullMode) << "\n" in iterate()
559 VkCullModeFlagBits cullMode; in populateTestGroup() member
560 } cullMode[] = in populateTestGroup() local
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCullingTests.cpp22 wgpu::RenderPipeline CreatePipelineForTest(wgpu::FrontFace frontFace, wgpu::CullMode cullMode) { in CreatePipelineForTest() argument
54 pipelineDescriptor.primitive.cullMode = cullMode; in CreatePipelineForTest()
72 wgpu::CullMode cullMode, in DoTest() argument
83 renderPass.SetPipeline(CreatePipelineForTest(frontFace, cullMode)); in DoTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp183 D3D11_CULL_MODE cullMode = in getRasterizerState() local
184 gl_d3d11::ConvertCullMode(rasterState.cullFace, rasterState.cullMode); in getRasterizerState()
189 cullMode = D3D11_CULL_NONE; in getRasterizerState()
194 rasterDesc.CullMode = cullMode; in getRasterizerState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp222 if (state.getRasterizerState().cullMode != mCurRasterState.cullMode) in syncState()
367 setCullMode(rasterState.cullFace, rasterState.cullMode, rasterState.frontFace); in setBlendDepthRasterStates()
836 void StateManager9::setCullMode(bool cullFace, gl::CullFaceMode cullMode, GLenum frontFace) in setCullMode() argument
841 gl_d3d9::ConvertCullMode(cullMode, frontFace)); in setCullMode()
849 mCurRasterState.cullMode = cullMode; in setCullMode()
DStateManager9.h89 void setCullMode(bool cullFace, gl::CullFaceMode cullMode, GLenum frontFace);
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderState.hpp372 : cullMode (CULLMODE_NONE) in RenderState()
386 CullMode cullMode; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationWindingTests.cpp440 const VkCullModeFlags cullMode = VK_CULL_MODE_BACK_BIT; in iterate() local
445 .setCullModeFlags (cullMode) in iterate()
455 .setCullModeFlags (cullMode) in iterate()
475 …log << tcu::TestLog::Message << "Pipeline uses " << getCullModeFlagsStr(cullMode) << tcu::TestLog:… in iterate()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.hpp151 inline VkCullModeFlags getCullMode() const { return cullMode; } in getCullMode()
220 VkCullModeFlags cullMode = 0; member
DSetupProcessor.hpp58 VkCullModeFlags cullMode : BITS(VK_CULL_MODE_FLAG_BITS_MAX_ENUM); member
DSetupProcessor.cpp74 state.cullMode = pipelineState.getCullMode(); in update()
DRenderer.cpp728 if(state.cullMode & VK_CULL_MODE_FRONT_BIT) in setupWireframeTriangles()
732 if(state.cullMode & VK_CULL_MODE_BACK_BIT) in setupWireframeTriangles()
776 if(state.cullMode & VK_CULL_MODE_FRONT_BIT) in setupPointTriangles()
780 if(state.cullMode & VK_CULL_MODE_BACK_BIT) in setupPointTriangles()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp249 DAWN_TRY(ValidateCullMode(descriptor->cullMode)); in ValidatePrimitiveState()
632 if ((mPrimitive.cullMode != wgpu::CullMode::Front && in RenderPipelineBase()
636 (mPrimitive.cullMode != wgpu::CullMode::Back && in RenderPipelineBase()
792 return mPrimitive.cullMode; in GetCullMode()
929 mPrimitive.cullMode, mClampDepth); in ComputeContentHash()
1045 stateA.frontFace != stateB.frontFace || stateA.cullMode != stateB.cullMode || in operator ()()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSetupProcessor.cpp84 state.cullMode = context->cullMode; in update()
DSetupProcessor.hpp52 CullMode cullMode : BITS(CULL_LAST); member
DPixelProcessor.cpp598 void PixelProcessor::setCullMode(CullMode cullMode, bool frontFacingCCW) in setCullMode() argument
600 context->cullMode = cullMode; in setCullMode()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_pipeline.c706 info->pRasterizationState->cullMode == VK_CULL_MODE_FRONT_AND_BACK)) { in dzn_graphics_pipeline_compile_shaders()
1160 desc->CullMode = translate_cull_mode(in_rast->cullMode); in dzn_graphics_pipeline_translate_rast()
1222 !(in->pRasterizationState->cullMode & VK_CULL_MODE_FRONT_BIT) && in translate_stencil_test()
1228 !(in->pRasterizationState->cullMode & VK_CULL_MODE_BACK_BIT) && in translate_stencil_test()
1249 in->pRasterizationState->cullMode == VK_CULL_MODE_NONE && in translate_stencil_test()
1253 in->pRasterizationState->cullMode == VK_CULL_MODE_NONE && in translate_stencil_test()
1265 !(in->pRasterizationState->cullMode & VK_CULL_MODE_BACK_BIT) && in translate_stencil_test()
1275 !(in->pRasterizationState->cullMode & VK_CULL_MODE_FRONT_BIT) && in translate_stencil_test()
1287 (in->pRasterizationState->cullMode & VK_CULL_MODE_FRONT_BIT)) ? in translate_stencil_test()
1291 (in->pRasterizationState->cullMode & VK_CULL_MODE_BACK_BIT)) ? in translate_stencil_test()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp55 GLenum cullMode = (mode == wgpu::CullMode::Front) ? GL_FRONT : GL_BACK; in ApplyFrontFaceAndCulling() local
56 gl.CullFace(cullMode); in ApplyFrontFaceAndCulling()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.cpp66 glState.getRasterizerState().cullMode == gl::CullFaceMode::FrontAndBack) in skipDraw()
/third_party/skia/third_party/externals/dawn/examples/
DCHelloTriangle.cpp97 descriptor.primitive.cullMode = WGPUCullMode_None; in init()
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp83 primitive->cullMode = wgpu::CullMode::None; in ComboRenderPipelineDescriptor()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_pipeline.c159 rs_info ? !(rs_info->cullMode & VK_CULL_MODE_FRONT_BIT) : false; in pack_cfg_bits()
162 rs_info ? !(rs_info->cullMode & VK_CULL_MODE_BACK_BIT) : false; in pack_cfg_bits()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireOptionalTests.cpp135 pipelineDescriptor.primitive.cullMode = WGPUCullMode_None; in TEST_F()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h1594 SVGA3dCullMode cullMode; member
1621 SVGA3dCullMode cullMode; member
1647 SVGA3dCullMode cullMode; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.h567 SVGA3dCullMode cullMode,
788 SVGA3dCullMode cullMode,
Dsvga_cmd_vgpu10.c980 SVGA3dCullMode cullMode, in SVGA3D_vgpu10_DefineRasterizerState() argument
998 cullMode, frontCounterClockwise, in SVGA3D_vgpu10_DefineRasterizerState()
1811 SVGA3dCullMode cullMode, in SVGA3D_sm5_DefineRasterizerState_v2() argument
1830 cullMode, frontCounterClockwise, in SVGA3D_sm5_DefineRasterizerState_v2()

123456