Home
last modified time | relevance | path

Searched refs:attributeCount (Results 1 - 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DVertexStateValidationTests.cpp65 state.cVertexBuffers[0].attributeCount = 0; in TEST_F()
72 state.cVertexBuffers[1].attributeCount = 1; in TEST_F()
79 state.cVertexBuffers[2].attributeCount = 0; in TEST_F()
81 state.cVertexBuffers[3].attributeCount = 1; in TEST_F()
93 state.cVertexBuffers[0].attributeCount = 2; in TEST_F()
133 state.cVertexBuffers[0].attributeCount = 1; in TEST_F()
148 state.cVertexBuffers[0].attributeCount = 2; in TEST_F()
169 state.cVertexBuffers[i].attributeCount = 1; in TEST_F()
185 state.cVertexBuffers[0].attributeCount = kMaxVertexAttributes; in TEST_F()
192 state.cVertexBuffers[1].attributeCount in TEST_F()
[all...]
H A DDrawVertexAndIndexBufferOOBValidationTests.cpp105 uint32_t attributeCount = 0; in CreateVertexShaderModuleWithBuffer() local
112 << attributeCount << " : vec4<f32>,"; in CreateVertexShaderModuleWithBuffer()
113 attributeCount++; in CreateVertexShaderModuleWithBuffer()
141 size_t attributeCount = 0; in CreateRenderPipelineWithBufferDesc() local
148 descriptor.cBuffers[bufferCount].attributeCount = bufferDesc.attributes.size(); in CreateRenderPipelineWithBufferDesc()
150 &descriptor.cAttributes[attributeCount]; in CreateRenderPipelineWithBufferDesc()
152 descriptor.cAttributes[attributeCount].shaderLocation = in CreateRenderPipelineWithBufferDesc()
154 descriptor.cAttributes[attributeCount].format = attribute.format; in CreateRenderPipelineWithBufferDesc()
155 descriptor.cAttributes[attributeCount].offset = attribute.offset; in CreateRenderPipelineWithBufferDesc()
156 attributeCount in CreateRenderPipelineWithBufferDesc()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DShaderTests.cpp175 rpDesc.cBuffers[0].attributeCount = 2; in TEST_P()
223 rpDesc.cBuffers[0].attributeCount = 2; in TEST_P()
270 rpDesc.cBuffers[0].attributeCount = 2; in TEST_P()
312 rpDesc.cBuffers[0].attributeCount = 2; in TEST_P()
358 rpDesc.cBuffers[0].attributeCount = 1; in TEST_P()
385 descriptor.cBuffers[0].attributeCount = 1; in TEST_P()
H A DDrawIndirectTests.cpp47 descriptor.cBuffers[0].attributeCount = 1;
H A DDrawTests.cpp46 descriptor.cBuffers[0].attributeCount = 1;
H A DDrawIndexedTests.cpp47 descriptor.cBuffers[0].attributeCount = 1;
H A DSamplerFilterAnisotropicTests.cpp82 pipelineDescriptor.cBuffers[0].attributeCount = 2;
H A DRenderBundleTests.cpp56 descriptor.cBuffers[0].attributeCount = 1;
H A DMultisampledSamplingTests.cpp80 desc.cBuffers[0].attributeCount = 1;
H A DDestroyTests.cpp49 descriptor.cBuffers[0].attributeCount = 1;
H A DVertexStateTests.cpp185 vertexState->cVertexBuffers[vertexBufferCount].attributeCount = in MakeVertexState()
546 vertexState.cVertexBuffers[kBufferIndex].attributeCount = 1; in TEST_P()
H A DVertexOnlyRenderPipelineTests.cpp121 descriptor.cBuffers[0].attributeCount = 1; in CreateRenderPipeline()
H A DFirstIndexOffsetTests.cpp153 pipelineDesc.cBuffers[0].attributeCount = 1; in TestImpl()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderPipelineDescriptor.cpp35 cVertexBuffers[i].attributeCount = 0; in ComboVertexState()
65 cBuffers[i].attributeCount = 0; in ComboRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/examples/
H A DComputeBoids.cpp131 descriptor.cBuffers[0].attributeCount = 2; in initRender()
138 descriptor.cBuffers[1].attributeCount = 1; in initRender()
H A DCppHelloTriangle.cpp129 descriptor.cBuffers[0].attributeCount = 1; in init()
H A DCubeReflection.cpp152 vertexBufferLayout.attributeCount = 2; in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPipelineVk.cpp578 uint32_t attributeCount = 0; in ComputeVertexInputDesc() local
583 &tempAllocations->attributes[attributeCount]; in ComputeVertexInputDesc()
589 attributeCount++; in ComputeVertexInputDesc()
599 createInfo.vertexAttributeDescriptionCount = attributeCount; in ComputeVertexInputDesc()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sDrawTests.cpp308 int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attribCounts), DE_ARRAY_END(attribCounts), attribWeights); in init() local
327 for (int attrNdx = 0; attrNdx < attributeCount;) in init()
385 for (int attrNdx = 0; attrNdx < attributeCount; ++attrNdx) in init()
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sDrawTests.cpp442 int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attribCounts), DE_ARRAY_END(attribCounts), attribWeights);
475 for (int attrNdx = 0; attrNdx < attributeCount;)
533 for (int attrNdx = 0; attrNdx < attributeCount; ++attrNdx)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineVertexInputTests.cpp2023 // VkPhysicalDeviceLimits::maxVertexInputAttributes is used when attributeCount is 0 in createMaxAttributeTests()
2024 const deUint32 attributeCount[] = { 16, 32, 64, 128, 0 }; in createMaxAttributeTests() local
2041 for (deUint32 attributeCountNdx = 0; attributeCountNdx < DE_LENGTH_OF_ARRAY(attributeCount); attributeCountNdx++) in createMaxAttributeTests()
2043 const std::string groupName = (attributeCount[attributeCountNdx] == 0 ? "query_max" : de::toString(attributeCount[attributeCountNdx])) + "_attributes"; in createMaxAttributeTests()
2044 const std::string groupDesc = de::toString(attributeCount[attributeCountNdx]) + " vertex input attributes"; in createMaxAttributeTests()
2050 std::vector<VertexInputTest::AttributeInfo> attributeInfos(attributeCount[attributeCountNdx]); in createMaxAttributeTests()
2052 for (deUint32 attributeNdx = 0; attributeNdx < attributeCount[attributeCountNdx]; attributeNdx++) in createMaxAttributeTests()
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sDrawTests.cpp522 int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attribCounts), DE_ARRAY_END(attribCounts), attribWeights); in init() local
541 for (int attrNdx = 0; attrNdx < attributeCount;) in init()
599 for (int attrNdx = 0; attrNdx < attributeCount; ++attrNdx) in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDrawTests.cpp594 int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attribCounts), DE_ARRAY_END(attribCounts), attribWeights); in init() local
613 for (int attrNdx = 0; attrNdx < attributeCount;) in init()
671 for (int attrNdx = 0; attrNdx < attributeCount; ++attrNdx) in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderPipeline.cpp187 for (uint32_t i = 0; i < buffer->attributeCount; ++i) { in ValidateVertexBufferLayout()
221 totalAttributesNum += descriptor->buffers[i].attributeCount; in ValidateVertexState()
577 if (buffers[slot].attributeCount == 0) { in RenderPipelineBase()
598 for (uint32_t i = 0; i < buffers[slot].attributeCount; ++i) { in RenderPipelineBase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineVertexInputTests.cpp2189 // VkPhysicalDeviceLimits::maxVertexInputAttributes is used when attributeCount is 0 in createMaxAttributeTests()
2190 const deUint32 attributeCount[] = { 16, 32, 64, 128, 0 }; in createMaxAttributeTests() local
2207 for (deUint32 attributeCountNdx = 0; attributeCountNdx < DE_LENGTH_OF_ARRAY(attributeCount); attributeCountNdx++) in createMaxAttributeTests()
2209 const std::string groupName = (attributeCount[attributeCountNdx] == 0 ? "query_max" : de::toString(attributeCount[attributeCountNdx])) + "_attributes"; in createMaxAttributeTests()
2210 const std::string groupDesc = de::toString(attributeCount[attributeCountNdx]) + " vertex input attributes"; in createMaxAttributeTests()
2216 std::vector<VertexInputTest::AttributeInfo> attributeInfos(attributeCount[attributeCountNdx]); in createMaxAttributeTests()
2218 for (deUint32 attributeNdx = 0; attributeNdx < attributeCount[attributeCountNdx]; attributeNdx++) in createMaxAttributeTests()

Completed in 34 milliseconds

12