Home
last modified time | relevance | path

Searched refs:primitiveTopology (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp183 inline VkPrimitiveTopology primitiveTopologyCastToList (const VkPrimitiveTopology primitiveTopology) in primitiveTopologyCastToList() argument
187 switch (primitiveTopology) in primitiveTopologyCastToList()
204 inline bool isPrimitiveTopologyPoint (const VkPrimitiveTopology primitiveTopology) in isPrimitiveTopologyPoint() argument
206 return primitiveTopologyCastToList(primitiveTopology) == VK_PRIMITIVE_TOPOLOGY_POINT_LIST; in isPrimitiveTopologyPoint()
209 inline bool isPrimitiveTopologyLine (const VkPrimitiveTopology primitiveTopology) in isPrimitiveTopologyLine() argument
211 return primitiveTopologyCastToList(primitiveTopology) == VK_PRIMITIVE_TOPOLOGY_LINE_LIST; in isPrimitiveTopologyLine()
214 inline bool isPrimitiveTopologyTriangle (const VkPrimitiveTopology primitiveTopology) in isPrimitiveTopologyTriangle() argument
216 return primitiveTopologyCastToList(primitiveTopology) == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in isPrimitiveTopologyTriangle()
219 inline bool isPrimitiveTopologyPatch (const VkPrimitiveTopology primitiveTopology) in isPrimitiveTopologyPatch() argument
221 return primitiveTopologyCastToList(primitiveTopology) == VK_PRIMITIVE_TOPOLOGY_PATCH_LIST; in isPrimitiveTopologyPatch()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp109 D3D12_PRIMITIVE_TOPOLOGY D3D12PrimitiveTopology(wgpu::PrimitiveTopology primitiveTopology) { in D3D12PrimitiveTopology() argument
110 switch (primitiveTopology) { in D3D12PrimitiveTopology()
125 wgpu::PrimitiveTopology primitiveTopology) { in D3D12PrimitiveTopologyType() argument
126 switch (primitiveTopology) { in D3D12PrimitiveTopologyType()
300 wgpu::PrimitiveTopology primitiveTopology, in ComputeIndexBufferStripCutValue() argument
302 if (primitiveTopology != wgpu::PrimitiveTopology::TriangleStrip && in ComputeIndexBufferStripCutValue()
303 primitiveTopology != wgpu::PrimitiveTopology::LineStrip) { in ComputeIndexBufferStripCutValue()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DPrimitiveTopologyTests.cpp184 void DoTest(wgpu::PrimitiveTopology primitiveTopology, in DoTest() argument
190 descriptor.primitive.topology = primitiveTopology; in DoTest()
191 if (primitiveTopology == wgpu::PrimitiveTopology::TriangleStrip || in DoTest()
192 primitiveTopology == wgpu::PrimitiveTopology::LineStrip) { in DoTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryEmitGeometryShaderTests.cpp63 VkPrimitiveTopology primitiveTopology; member
142 if(m_emitTestSpec.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in initPrograms()
172 …<< "layout(" << outputTypeToGLString(m_emitTestSpec.primitiveTopology) << ", max_vertices = " << (… in shaderGeometry()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolOcclusionTests.cpp270 vk::VkPrimitiveTopology primitiveTopology; member
305 && testVector.primitiveTopology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST); in BasicOcclusionQueryTestInstance()
310 …context.getDeviceInterface(), m_context, NUM_VERTICES_IN_DRAWCALL, m_testVector.primitiveTopology); in BasicOcclusionQueryTestInstance()
496 …, const deUint64* availability, bool allowUnavailable, vk::VkPrimitiveTopology primitiveTopology);
546 …N_PARTIALLY_OCCLUDED_DRAWCALL + NUM_VERTICES_IN_OCCLUDER_DRAWCALL, m_testVector.primitiveTopology); in OcclusionQueryTestInstance()
717 … = validateResults(queryResults, queryAvailability, allowNotReady, m_testVector.primitiveTopology); in iterate()
1055 …s , const deUint64* availability, bool allowUnavailable, vk::VkPrimitiveTopology primitiveTopology) in validateResults() argument
1094 if (primitiveTopology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in validateResults()
1112 else if (primitiveTopology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST) in validateResults()
1238 baseTestVector.primitiveTopology = vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST; in init()
[all …]
DvktQueryPoolStatisticsTests.cpp1198 , primitiveTopology (primitiveTopology_)
1203 VkPrimitiveTopology primitiveTopology; member
1418 switch (m_parametersGraphic.primitiveTopology) in createPipeline()
1482 …reateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_parametersGraphic.primitiveTopology)); in createPipeline()
1603 …expectedMin = m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST ? 1… in checkResult()
1604 … m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY ? 8u : in checkResult()
1605 … m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY ? 14u : in checkResult()
1606 …m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY ? 6u… in checkResult()
1607 …m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY ? 8u… in checkResult()
1611 …expectedMin = m_parametersGraphic.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 16u… in checkResult()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DPrimitiveTopologyTests.cpp183 …void DoTest(dawn::PrimitiveTopology primitiveTopology, const std::vector<LocationSpec> &locationSp… in DoTest() argument
187 descriptor.primitiveTopology = primitiveTopology; in DoTest()
DViewportOrientationTests.cpp44 descriptor.primitiveTopology = dawn::PrimitiveTopology::PointList; in TEST_P()
DDrawTests.cpp48 descriptor.primitiveTopology = dawn::PrimitiveTopology::TriangleStrip; in SetUp()
DDrawIndirectTests.cpp48 descriptor.primitiveTopology = dawn::PrimitiveTopology::TriangleStrip; in SetUp()
DRenderPassTests.cpp49 descriptor.primitiveTopology = dawn::PrimitiveTopology::TriangleStrip; in SetUp()
DDrawIndexedTests.cpp48 descriptor.primitiveTopology = dawn::PrimitiveTopology::TriangleStrip; in SetUp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp72 VkPrimitiveTopology primitiveTopology,
103 VkPrimitiveTopology primitiveTopology,
123 VkPrimitiveTopology primitiveTopology,
155 VkPrimitiveTopology primitiveTopology,
226 VkPrimitiveTopology primitiveTopology, in InputAssemblyTest() argument
232 , m_primitiveTopology (primitiveTopology) in InputAssemblyTest()
372 VkPrimitiveTopology primitiveTopology, in PrimitiveTopologyTest() argument
374 : InputAssemblyTest (testContext, name, description, primitiveTopology, 10, false, indexType) in PrimitiveTopologyTest()
716 VkPrimitiveTopology primitiveTopology, in PrimitiveRestartTest() argument
719 : InputAssemblyTest (testContext, name, description, primitiveTopology, 10, true, indexType) in PrimitiveRestartTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationProvokingVertexTests.cpp61 VkPrimitiveTopology primitiveTopology; member
218 …if (m_params.transformFeedback && (m_params.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FA… in checkSupport()
231 if (m_params.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN && in checkSupport()
412 m_params.primitiveTopology, in iterate()
459 m_params.primitiveTopology, in iterate()
481 switch (m_params.primitiveTopology) in iterate()
657 xfbBufferSize = getXfbBufferSize(vertexCount, m_params.primitiveTopology); in iterate()
811 …if (!verifyXfbBuffer(xfbResults, count, m_params.primitiveTopology, m_params.provokingVertexMode, … in iterate()
818 …if (!verifyXfbBuffer(xfbResults, halfCount, m_params.primitiveTopology, PROVOKING_VERTEX_FIRST, er… in iterate()
821 …if (!verifyXfbBuffer(&xfbResults[halfCount], halfCount, m_params.primitiveTopology, PROVOKING_VERT… in iterate()
DvktRasterizationTests.cpp191 …:Surface& result, const std::vector<tcu::Vec4>& vertexData, VkPrimitiveTopology primitiveTopology);
192 …Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, VkPrimitiveTopology primitiveTopology);
193 …ec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology,
659 …::Surface& result, const std::vector<tcu::Vec4>& vertexData, VkPrimitiveTopology primitiveTopology) in drawPrimitives() argument
664 drawPrimitives(result, vertexData, colorData, primitiveTopology); in drawPrimitives()
667 …ec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology) in drawPrimitives() argument
669 …drawPrimitives(result, positionData, colorData, primitiveTopology, *m_image, *m_resolvedImage, *m_… in drawPrimitives()
671 …ec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology, in drawPrimitives() argument
781 primitiveTopology, // const VkPrimitiveTopology topology in drawPrimitives()
969 …BaseTriangleTestInstance (Context& context, VkPrimitiveTopology primitiveTopology, VkSampleCountFl…
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp108 D3D12_PRIMITIVE_TOPOLOGY D3D12PrimitiveTopology(dawn::PrimitiveTopology primitiveTopology) { in D3D12PrimitiveTopology() argument
109 switch (primitiveTopology) { in D3D12PrimitiveTopology()
126 dawn::PrimitiveTopology primitiveTopology) { in D3D12PrimitiveTopologyType() argument
127 switch (primitiveTopology) { in D3D12PrimitiveTopologyType()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm100 MTLPrimitiveType MTLPrimitiveTopology(dawn::PrimitiveTopology primitiveTopology) {
101 switch (primitiveTopology) {
116 dawn::PrimitiveTopology primitiveTopology) {
117 switch (primitiveTopology) {
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp26 GLenum GLPrimitiveTopology(dawn::PrimitiveTopology primitiveTopology) { in GLPrimitiveTopology() argument
27 switch (primitiveTopology) { in GLPrimitiveTopology()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm104 MTLPrimitiveType MTLPrimitiveTopology(wgpu::PrimitiveTopology primitiveTopology) {
105 switch (primitiveTopology) {
120 wgpu::PrimitiveTopology primitiveTopology) {
121 switch (primitiveTopology) {
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp2397 void StateManager11::setPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY primitiveTopology) in setPrimitiveTopology() argument
2399 if (setPrimitiveTopologyInternal(primitiveTopology)) in setPrimitiveTopology()
2405 bool StateManager11::setPrimitiveTopologyInternal(D3D11_PRIMITIVE_TOPOLOGY primitiveTopology) in setPrimitiveTopologyInternal() argument
2407 if (primitiveTopology != mCurrentPrimitiveTopology) in setPrimitiveTopologyInternal()
2409 mRenderer->getDeviceContext()->IASetPrimitiveTopology(primitiveTopology); in setPrimitiveTopologyInternal()
2410 mCurrentPrimitiveTopology = primitiveTopology; in setPrimitiveTopologyInternal()
3913 D3D11_PRIMITIVE_TOPOLOGY primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED; in syncPrimitiveTopology() local
3938 primitiveTopology = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; in syncPrimitiveTopology()
3942 primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_POINTLIST; in syncPrimitiveTopology()
3947 primitiveTopology = D3D_PRIMITIVE_TOPOLOGY_LINELIST; in syncPrimitiveTopology()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp2328 void StateManager11::setPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY primitiveTopology) in setPrimitiveTopology() argument
2330 if (setPrimitiveTopologyInternal(primitiveTopology)) in setPrimitiveTopology()
2336 bool StateManager11::setPrimitiveTopologyInternal(D3D11_PRIMITIVE_TOPOLOGY primitiveTopology) in setPrimitiveTopologyInternal() argument
2338 if (primitiveTopology != mCurrentPrimitiveTopology) in setPrimitiveTopologyInternal()
2340 mRenderer->getDeviceContext()->IASetPrimitiveTopology(primitiveTopology); in setPrimitiveTopologyInternal()
2341 mCurrentPrimitiveTopology = primitiveTopology; in setPrimitiveTopologyInternal()
3826 D3D11_PRIMITIVE_TOPOLOGY primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED; in syncPrimitiveTopology() local
3851 primitiveTopology = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; in syncPrimitiveTopology()
3855 primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_POINTLIST; in syncPrimitiveTopology()
3860 primitiveTopology = D3D_PRIMITIVE_TOPOLOGY_LINELIST; in syncPrimitiveTopology()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp52 descriptor->primitiveTopology = dawn::PrimitiveTopology::TriangleList; in ComboRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp26 GLenum GLPrimitiveTopology(wgpu::PrimitiveTopology primitiveTopology) { in GLPrimitiveTopology() argument
27 switch (primitiveTopology) { in GLPrimitiveTopology()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.h42 bool IsStripPrimitiveTopology(wgpu::PrimitiveTopology primitiveTopology);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DIndexBufferValidationTests.cpp24 wgpu::PrimitiveTopology primitiveTopology) { in MakeTestPipeline() argument
38 descriptor.primitive.topology = primitiveTopology; in MakeTestPipeline()

1234