Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp64 VkCullModeFlagBits cullMode; member
230 m_params.cullMode, // cullMode in NegativeViewportHeightTestInstance()
313 if (m_params.cullMode == VK_CULL_MODE_FRONT_BIT && isFrontFacing) in isCulled()
315 if (m_params.cullMode == VK_CULL_MODE_BACK_BIT && !isFrontFacing) in isCulled()
318 return m_params.cullMode == VK_CULL_MODE_FRONT_AND_BACK; in isCulled()
402 std::string getCullModeStr (const VkCullModeFlagBits cullMode) in getCullModeStr() argument
407 switch (cullMode) in getCullModeStr()
542 << "Cull mode: " << getCullModeStr (m_params.cullMode) << "\n" in iterate()
638 VkCullModeFlagBits cullMode; in populateTestGroup() member
639 } cullMode[] = in populateTestGroup() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp64 VkCullModeFlagBits cullMode; member
230 m_params.cullMode, // cullMode in NegativeViewportHeightTestInstance()
313 if (m_params.cullMode == VK_CULL_MODE_FRONT_BIT && isFrontFacing) in isCulled()
315 if (m_params.cullMode == VK_CULL_MODE_BACK_BIT && !isFrontFacing) in isCulled()
318 return m_params.cullMode == VK_CULL_MODE_FRONT_AND_BACK; in isCulled()
402 std::string getCullModeStr (const VkCullModeFlagBits cullMode) in getCullModeStr() argument
407 switch (cullMode) in getCullModeStr()
542 << "Cull mode: " << getCullModeStr (m_params.cullMode) << "\n" in iterate()
638 VkCullModeFlagBits cullMode; in populateTestGroup() member
639 } 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/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCullingTests.cpp22 dawn::RenderPipeline CreatePipelineForTest(dawn::FrontFace frontFace, dawn::CullMode cullMode) { in CreatePipelineForTest() argument
56 pipelineDescriptor.cRasterizationState.cullMode = cullMode; in CreatePipelineForTest()
75 dawn::CullMode cullMode, in DoTest() argument
86 renderPass.SetPipeline(CreatePipelineForTest(frontFace, cullMode)); in DoTest()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp144 D3D11_CULL_MODE cullMode = in getRasterizerState() local
145 gl_d3d11::ConvertCullMode(rasterState.cullFace, rasterState.cullMode); in getRasterizerState()
150 cullMode = D3D11_CULL_NONE; in getRasterizerState()
155 rasterDesc.CullMode = cullMode; in getRasterizerState()
/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()
/third_party/flutter/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()
835 void StateManager9::setCullMode(bool cullFace, gl::CullFaceMode cullMode, GLenum frontFace) in setCullMode() argument
840 gl_d3d9::ConvertCullMode(cullMode, frontFace)); in setCullMode()
848 mCurRasterState.cullMode = cullMode; in setCullMode()
/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.cpp442 const VkCullModeFlags cullMode = VK_CULL_MODE_BACK_BIT; in iterate() local
447 .setCullModeFlags (cullMode) in iterate()
457 .setCullModeFlags (cullMode) in iterate()
477 …log << tcu::TestLog::Message << "Pipeline uses " << getCullModeFlagsStr(cullMode) << tcu::TestLog:… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationWindingTests.cpp442 const VkCullModeFlags cullMode = VK_CULL_MODE_BACK_BIT; in iterate() local
447 .setCullModeFlags (cullMode) in iterate()
457 .setCullModeFlags (cullMode) in iterate()
477 …log << tcu::TestLog::Message << "Pipeline uses " << getCullModeFlagsStr(cullMode) << tcu::TestLog:… in iterate()
/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/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()
/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
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp110 DAWN_TRY(ValidateCullMode(descriptor->cullMode)); in ValidateRasterizationStateDescriptor()
480 return mRasterizationState.cullMode; in GetCullMode()
606 HashCombine(&hash, desc.frontFace, desc.cullMode); in operator ()()
712 if (descA.frontFace != descB.frontFace || descA.cullMode != descB.cullMode) { in operator ()()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp55 GLenum cullMode = (mode == dawn::CullMode::Front) ? GL_FRONT : GL_BACK; in ApplyFrontFaceAndCulling() local
56 gl.CullFace(cullMode); in ApplyFrontFaceAndCulling()
/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/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp73 cRasterizationState.cullMode = dawn::CullMode::None; in ComboRenderPipelineDescriptor()
/third_party/flutter/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()

1234567