/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | VertexStateValidationTests.cpp | 65 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 D | DrawVertexAndIndexBufferOOBValidationTests.cpp | 105 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 D | ShaderTests.cpp | 175 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 D | DrawIndirectTests.cpp | 47 descriptor.cBuffers[0].attributeCount = 1;
|
H A D | DrawTests.cpp | 46 descriptor.cBuffers[0].attributeCount = 1;
|
H A D | DrawIndexedTests.cpp | 47 descriptor.cBuffers[0].attributeCount = 1;
|
H A D | SamplerFilterAnisotropicTests.cpp | 82 pipelineDescriptor.cBuffers[0].attributeCount = 2;
|
H A D | RenderBundleTests.cpp | 56 descriptor.cBuffers[0].attributeCount = 1;
|
H A D | MultisampledSamplingTests.cpp | 80 desc.cBuffers[0].attributeCount = 1;
|
H A D | DestroyTests.cpp | 49 descriptor.cBuffers[0].attributeCount = 1;
|
H A D | VertexStateTests.cpp | 185 vertexState->cVertexBuffers[vertexBufferCount].attributeCount = in MakeVertexState() 546 vertexState.cVertexBuffers[kBufferIndex].attributeCount = 1; in TEST_P()
|
H A D | VertexOnlyRenderPipelineTests.cpp | 121 descriptor.cBuffers[0].attributeCount = 1; in CreateRenderPipeline()
|
H A D | FirstIndexOffsetTests.cpp | 153 pipelineDesc.cBuffers[0].attributeCount = 1; in TestImpl()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | ComboRenderPipelineDescriptor.cpp | 35 cVertexBuffers[i].attributeCount = 0; in ComboVertexState() 65 cBuffers[i].attributeCount = 0; in ComboRenderPipelineDescriptor()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | ComputeBoids.cpp | 131 descriptor.cBuffers[0].attributeCount = 2; in initRender() 138 descriptor.cBuffers[1].attributeCount = 1; in initRender()
|
H A D | CppHelloTriangle.cpp | 129 descriptor.cBuffers[0].attributeCount = 1; in init()
|
H A D | CubeReflection.cpp | 152 vertexBufferLayout.attributeCount = 2; in init()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | RenderPipelineVk.cpp | 578 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 D | es2sDrawTests.cpp | 308 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 D | es31sDrawTests.cpp | 442 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 D | vktPipelineVertexInputTests.cpp | 2023 // 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 D | es3sDrawTests.cpp | 522 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 D | es2fDrawTests.cpp | 594 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 D | RenderPipeline.cpp | 187 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 D | vktPipelineVertexInputTests.cpp | 2189 // 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()
|