Home
last modified time | relevance | path

Searched refs:cAttributes (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexStateValidationTests.cpp73 state.cVertexBuffers[1].attributes = &state.cAttributes[0]; in TEST_F()
74 state.cAttributes[0].shaderLocation = 0; in TEST_F()
82 state.cVertexBuffers[3].attributes = &state.cAttributes[1]; in TEST_F()
83 state.cAttributes[1].shaderLocation = 1; in TEST_F()
94 state.cAttributes[0].shaderLocation = 0; in TEST_F()
95 state.cAttributes[1].shaderLocation = 1; in TEST_F()
96 state.cAttributes[1].offset = sizeof(float); in TEST_F()
137 state.cAttributes[0].offset = 128; in TEST_F()
149 state.cAttributes[0].shaderLocation = 0; in TEST_F()
150 state.cAttributes[1].shaderLocation = 1; in TEST_F()
[all …]
DVertexBufferValidationTests.cpp77 descriptor.cBuffers[i].attributes = &descriptor.cAttributes[i]; in MakeRenderPipeline()
78 descriptor.cAttributes[i].shaderLocation = i; in MakeRenderPipeline()
79 descriptor.cAttributes[i].format = wgpu::VertexFormat::Float32x3; in MakeRenderPipeline()
DDrawVertexAndIndexBufferOOBValidationTests.cpp150 &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()
DRenderPipelineValidationTests.cpp936 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in TEST_F()
937 descriptor.cAttributes[0].offset = 0; in TEST_F()
941 descriptor.cAttributes[0].shaderLocation = 0; in TEST_F()
945 descriptor.cAttributes[0].shaderLocation = 1; in TEST_F()
950 descriptor.cAttributes[0].shaderLocation = 0; in TEST_F()
954 descriptor.cAttributes[0].shaderLocation = 1; in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexInputValidationTests.cpp80 state.cBuffers[1].attributes = &state.cAttributes[0]; in TEST_F()
81 state.cAttributes[0].shaderLocation = 0; in TEST_F()
94 state.cBuffers[3].attributes = &state.cAttributes[1]; in TEST_F()
95 state.cAttributes[1].shaderLocation = 1; in TEST_F()
111 state.cAttributes[0].shaderLocation = 0; in TEST_F()
112 state.cAttributes[1].shaderLocation = 1; in TEST_F()
113 state.cAttributes[1].offset = sizeof(float); in TEST_F()
159 state.cAttributes[0].offset = 128; in TEST_F()
176 state.cAttributes[0].shaderLocation = 0; in TEST_F()
177 state.cAttributes[1].shaderLocation = 1; in TEST_F()
[all …]
DVertexBufferValidationTests.cpp79 &descriptor.cVertexInput.cAttributes[i]; in MakeRenderPipeline()
80 descriptor.cVertexInput.cAttributes[i].shaderLocation = i; in MakeRenderPipeline()
81 descriptor.cVertexInput.cAttributes[i].format = dawn::VertexFormat::Float3; in MakeRenderPipeline()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderTests.cpp177 rpDesc.cAttributes[0].shaderLocation = 0; in TEST_P()
178 rpDesc.cAttributes[0].format = wgpu::VertexFormat::Float32x3; in TEST_P()
179 rpDesc.cAttributes[1].shaderLocation = 1; in TEST_P()
180 rpDesc.cAttributes[1].format = wgpu::VertexFormat::Float32x4; in TEST_P()
225 rpDesc.cAttributes[0].shaderLocation = 0; in TEST_P()
226 rpDesc.cAttributes[0].format = wgpu::VertexFormat::Float32x3; in TEST_P()
227 rpDesc.cAttributes[1].shaderLocation = 1; in TEST_P()
228 rpDesc.cAttributes[1].format = wgpu::VertexFormat::Float32x4; in TEST_P()
272 rpDesc.cAttributes[0].shaderLocation = 0; in TEST_P()
273 rpDesc.cAttributes[0].format = wgpu::VertexFormat::Float32x3; in TEST_P()
[all …]
DSamplerFilterAnisotropicTests.cpp83 pipelineDescriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp()
84 pipelineDescriptor.cAttributes[1].shaderLocation = 1; in SetUp()
85 pipelineDescriptor.cAttributes[1].offset = 4 * sizeof(float); in SetUp()
86 pipelineDescriptor.cAttributes[1].format = wgpu::VertexFormat::Float32x2; in SetUp()
DVertexStateTests.cpp177 &vertexState->cAttributes[totalNumAttributes]; in MakeVertexState()
180 vertexState->cAttributes[totalNumAttributes].shaderLocation = attribute.location; in MakeVertexState()
181 vertexState->cAttributes[totalNumAttributes].offset = attribute.offset; in MakeVertexState()
182 vertexState->cAttributes[totalNumAttributes].format = attribute.format; in MakeVertexState()
547 vertexState.cVertexBuffers[kBufferIndex].attributes = &vertexState.cAttributes[0]; in TEST_P()
548 vertexState.cAttributes[0].shaderLocation = 0; in TEST_P()
549 vertexState.cAttributes[0].offset = 0; in TEST_P()
550 vertexState.cAttributes[0].format = VertexFormat::Float32x4; in TEST_P()
DCreatePipelineAsyncTests.cpp672 renderPipelineDescriptor.cBuffers[0].attributes = &renderPipelineDescriptor.cAttributes[0]; in TEST_P()
673 renderPipelineDescriptor.cAttributes[0].format = wgpu::VertexFormat::Uint32; in TEST_P()
674 renderPipelineDescriptor.cAttributes[0].shaderLocation = 0; in TEST_P()
676 renderPipelineDescriptor.cBuffers[1].attributes = &renderPipelineDescriptor.cAttributes[1]; in TEST_P()
677 renderPipelineDescriptor.cAttributes[1].format = wgpu::VertexFormat::Uint32; in TEST_P()
678 renderPipelineDescriptor.cAttributes[1].shaderLocation = 1; in TEST_P()
DDrawTests.cpp47 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp()
DDrawIndirectTests.cpp48 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp()
DDrawIndexedTests.cpp48 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp()
/third_party/skia/third_party/externals/dawn/examples/
DComputeBoids.cpp132 descriptor.cAttributes[0].offset = offsetof(Particle, pos); in initRender()
133 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x2; in initRender()
134 descriptor.cAttributes[1].shaderLocation = 1; in initRender()
135 descriptor.cAttributes[1].offset = offsetof(Particle, vel); in initRender()
136 descriptor.cAttributes[1].format = wgpu::VertexFormat::Float32x2; in initRender()
139 descriptor.cBuffers[1].attributes = &descriptor.cAttributes[2]; in initRender()
140 descriptor.cAttributes[2].shaderLocation = 2; in initRender()
141 descriptor.cAttributes[2].format = wgpu::VertexFormat::Float32x2; in initRender()
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp30 cAttributes[i] = vertexAttribute; in ComboVertexState()
43 cVertexBuffers[0].attributes = &cAttributes[0]; in ComboVertexState()
58 cAttributes[i].shaderLocation = 0; in ComboRenderPipelineDescriptor()
59 cAttributes[i].offset = 0; in ComboRenderPipelineDescriptor()
60 cAttributes[i].format = wgpu::VertexFormat::Float32; in ComboRenderPipelineDescriptor()
73 cBuffers[0].attributes = &cAttributes[0]; in ComboRenderPipelineDescriptor()
DComboRenderPipelineDescriptor.h38 std::array<wgpu::VertexAttribute, kMaxVertexAttributes> cAttributes; variable
54 std::array<wgpu::VertexAttribute, kMaxVertexAttributes> cAttributes; variable
/third_party/flutter/skia/third_party/externals/dawn/examples/
DComputeBoids.cpp129 descriptor.cVertexInput.cAttributes[0].offset = offsetof(Particle, pos); in initRender()
130 descriptor.cVertexInput.cAttributes[0].format = dawn::VertexFormat::Float2; in initRender()
131 descriptor.cVertexInput.cAttributes[1].shaderLocation = 1; in initRender()
132 descriptor.cVertexInput.cAttributes[1].offset = offsetof(Particle, vel); in initRender()
133 descriptor.cVertexInput.cAttributes[1].format = dawn::VertexFormat::Float2; in initRender()
136 descriptor.cVertexInput.cBuffers[1].attributes = &descriptor.cVertexInput.cAttributes[2]; in initRender()
137 descriptor.cVertexInput.cAttributes[2].shaderLocation = 2; in initRender()
138 descriptor.cVertexInput.cAttributes[2].format = dawn::VertexFormat::Float2; in initRender()
DCubeReflection.cpp161 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()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp33 cAttributes[i] = vertexAttribute; in ComboVertexInputDescriptor()
45 cBuffers[0].attributes = &cAttributes[0]; in ComboVertexInputDescriptor()
DComboRenderPipelineDescriptor.h31 std::array<dawn::VertexAttributeDescriptor, kMaxVertexAttributes> cAttributes; variable
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexInputTests.cpp160 &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()
DDrawTests.cpp52 descriptor.cVertexInput.cAttributes[0].format = dawn::VertexFormat::Float4; in SetUp()
DDrawIndirectTests.cpp52 descriptor.cVertexInput.cAttributes[0].format = dawn::VertexFormat::Float4; in SetUp()
DDrawIndexedTests.cpp52 descriptor.cVertexInput.cAttributes[0].format = dawn::VertexFormat::Float4; in SetUp()
DDrawIndexedIndirectTests.cpp52 descriptor.cVertexInput.cAttributes[0].format = dawn::VertexFormat::Float4; in SetUp()

12