Home
last modified time | relevance | path

Searched refs:vertexInput (Results 1 – 18 of 18) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexInputTests.cpp67 dawn::RenderPipeline MakeTestPipeline(const dawn::VertexInputDescriptor& vertexInput, in MakeTestPipeline() argument
133 descriptor.vertexInput = &vertexInput; in MakeTestPipeline()
152 utils::ComboVertexInputDescriptor vertexInput; in MakeVertexInput() local
156 vertexInput.cBuffers[bufferCount].stride = buffer.stride; in MakeVertexInput()
157 vertexInput.cBuffers[bufferCount].stepMode = buffer.step; in MakeVertexInput()
159 vertexInput.cBuffers[bufferCount].attributes = in MakeVertexInput()
160 &vertexInput.cAttributes[totalNumAttributes]; in MakeVertexInput()
163 vertexInput.cAttributes[totalNumAttributes].shaderLocation = attribute.location; in MakeVertexInput()
164 vertexInput.cAttributes[totalNumAttributes].offset = attribute.offset; in MakeVertexInput()
165 vertexInput.cAttributes[totalNumAttributes].format = attribute.format; in MakeVertexInput()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp159 utils::ComboVertexInputDescriptor vertexInput; in init() local
160 vertexInput.cBuffers[0].attributeCount = 2; in init()
161 vertexInput.cAttributes[0].format = dawn::VertexFormat::Float3; in init()
162 vertexInput.cAttributes[1].shaderLocation = 1; in init()
163 vertexInput.cAttributes[1].offset = 3 * sizeof(float); in init()
164 vertexInput.cAttributes[1].format = dawn::VertexFormat::Float3; in init()
166 vertexInput.bufferCount = 1; in init()
167 vertexInput.cBuffers[0].stride = 6 * sizeof(float); in init()
204 descriptor.vertexInput = &vertexInput; in init()
217 pDescriptor.vertexInput = &vertexInput; in init()
[all …]
DCHelloTriangle.cpp98 DawnVertexInputDescriptor vertexInput; in init() local
99 vertexInput.nextInChain = nullptr; in init()
100 vertexInput.indexFormat = DAWN_INDEX_FORMAT_UINT32; in init()
101 vertexInput.bufferCount = 0; in init()
102 vertexInput.buffers = nullptr; in init()
103 descriptor.vertexInput = &vertexInput; in init()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireOptionalTests.cpp90 DawnVertexInputDescriptor vertexInput; in TEST_F() local
91 vertexInput.nextInChain = nullptr; in TEST_F()
92 vertexInput.indexFormat = DAWN_INDEX_FORMAT_UINT32; in TEST_F()
93 vertexInput.bufferCount = 0; in TEST_F()
94 vertexInput.buffers = nullptr; in TEST_F()
155 pipelineDescriptor.vertexInput = &vertexInput; in TEST_F()
DWireArgumentTests.cpp120 DawnVertexInputDescriptor vertexInput; in TEST_F() local
121 vertexInput.nextInChain = nullptr; in TEST_F()
122 vertexInput.indexFormat = DAWN_INDEX_FORMAT_UINT32; in TEST_F()
123 vertexInput.bufferCount = 0; in TEST_F()
124 vertexInput.buffers = nullptr; in TEST_F()
185 pipelineDescriptor.vertexInput = &vertexInput; in TEST_F()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.cpp372 dawn::VertexInputDescriptor vertexInput; in applyState() local
373 vertexInput.bufferCount = inputs.size(); in applyState()
374 vertexInput.buffers = &inputs.front(); in applyState()
375 vertexInput.indexFormat = dawn::IndexFormat::Uint16; in applyState()
397 rpDesc.vertexInput = &vertexInput; in applyState()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.h40 void CreateVAOForVertexInput(const VertexInputDescriptor* vertexInput);
DRenderPipelineGL.cpp205 CreateVAOForVertexInput(descriptor->vertexInput); in RenderPipeline()
218 void RenderPipeline::CreateVAOForVertexInput(const VertexInputDescriptor* vertexInput) { in CreateVAOForVertexInput() argument
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp222 const auto &vertexInput = vertexInputBindings[attrib.binding]; in bindVertexInputs() local
223 VkDeviceSize offset = attrib.offset + vertexInput.offset + in bindVertexInputs()
225 attrib.buffer = vertexInput.buffer ? vertexInput.buffer->getOffsetPointer(offset) : nullptr; in bindVertexInputs()
227 VkDeviceSize size = vertexInput.buffer ? vertexInput.buffer->getSize() : 0; in bindVertexInputs()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.h35 const VertexInputDescriptor* vertexInput,
DRenderPipelineVk.cpp337 const VertexInputDescriptor* vertexInput = GetVertexInputDescriptor(); in RenderPipeline() local
339 ComputeVertexInputDesc(vertexInput, &mBindings, &mAttributes); in RenderPipeline()
487 const VertexInputDescriptor* vertexInput, in ComputeVertexInputDesc() argument
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderProgram.cpp77 const rsg::ShaderInput* vertexInput = *vtxInIter; in generateProgramDeclaration() local
78 …decl << sglr::pdec::VertexAttribute(vertexInput->getVariable()->getName(), mapToGenericVecType(ver… in generateProgramDeclaration()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp68 descriptor->vertexInput = &cVertexInput; in ComboRenderPipelineDescriptor()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp270 if (descriptor->vertexInput == nullptr) { in ValidateRenderPipelineDescriptor()
275 DAWN_TRY(ValidateVertexInputDescriptor(descriptor->vertexInput, &attributesSetMask)); in ValidateRenderPipelineDescriptor()
351 mVertexInput(*descriptor->vertexInput), in RenderPipelineBase()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexInputValidationTests.cpp39 descriptor.vertexInput = &state; in CreatePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp2779 const Vertex4RGBA vertexInput = { tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), m_renderColor }; in generateVertices() local
2780 vertices.push_back(vertexInput); in generateVertices()
2783 const Vertex4RGBA vertexInput = { tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), m_renderColor }; in generateVertices() local
2784 vertices.push_back(vertexInput); in generateVertices()
2787 const Vertex4RGBA vertexInput = { tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f), m_renderColor }; in generateVertices() local
2788 vertices.push_back(vertexInput); in generateVertices()
3047 const Vertex4RGBA vertexInput = { tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), m_renderColor }; in generateVertices() local
3048 vertices.push_back(vertexInput); in generateVertices()
3051 const Vertex4RGBA vertexInput = { tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), m_renderColor }; in generateVertices() local
3052 vertices.push_back(vertexInput); in generateVertices()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateInheritanceTests.cpp286 static const VkPipelineVertexInputStateCreateInfo vertexInput = { variable
358 outCreateInfo->pVertexInputState = &vertexInput; in fill()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp6486 const vk::VkPipelineVertexInputStateCreateInfo vertexInput = in iterate() local
6507 &vertexInput); // Vertex input state. in iterate()