Home
last modified time | relevance | path

Searched refs:bufferCount (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexInputValidationTests.cpp65 state.bufferCount = 1; in TEST_F()
77 state.bufferCount = 2; in TEST_F()
90 state.bufferCount = 4; in TEST_F()
108 state.bufferCount = 1; in TEST_F()
148 state.bufferCount = 1; in TEST_F()
173 state.bufferCount = 1; in TEST_F()
209 state.bufferCount = kMaxVertexBuffers; in TEST_F()
223 state.bufferCount = kMaxVertexBuffers + 1; in TEST_F()
236 state.bufferCount = 2; in TEST_F()
263 state.bufferCount = 1; in TEST_F()
[all …]
DVertexBufferValidationTests.cpp48 dawn::ShaderModule MakeVertexShader(unsigned int bufferCount) { in MakeVertexShader() argument
51 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeVertexShader()
57 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeVertexShader()
59 if (i != bufferCount - 1) { in MakeVertexShader()
71 unsigned int bufferCount) { in MakeRenderPipeline() argument
76 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeRenderPipeline()
83 descriptor.cVertexInput.bufferCount = bufferCount; in MakeRenderPipeline()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexBufferValidationTests.cpp42 wgpu::ShaderModule MakeVertexShader(unsigned int bufferCount) { in MakeVertexShader() argument
45 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeVertexShader()
56 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeVertexShader()
58 if (i != bufferCount - 1) { in MakeVertexShader()
70 unsigned int bufferCount) { in MakeRenderPipeline() argument
75 for (unsigned int i = 0; i < bufferCount; ++i) { in MakeRenderPipeline()
81 descriptor.vertex.bufferCount = bufferCount; in MakeRenderPipeline()
DDrawVertexAndIndexBufferOOBValidationTests.cpp139 descriptor.vertex.bufferCount = bufferDescList.size(); in CreateRenderPipelineWithBufferDesc()
143 for (size_t bufferCount = 0; bufferCount < bufferDescList.size(); bufferCount++) { in CreateRenderPipelineWithBufferDesc() local
144 auto bufferDesc = bufferDescList[bufferCount]; in CreateRenderPipelineWithBufferDesc()
145 descriptor.cBuffers[bufferCount].arrayStride = bufferDesc.arrayStride; in CreateRenderPipelineWithBufferDesc()
146 descriptor.cBuffers[bufferCount].stepMode = bufferDesc.stepMode; in CreateRenderPipelineWithBufferDesc()
148 descriptor.cBuffers[bufferCount].attributeCount = bufferDesc.attributes.size(); in CreateRenderPipelineWithBufferDesc()
149 descriptor.cBuffers[bufferCount].attributes = in CreateRenderPipelineWithBufferDesc()
159 descriptor.cBuffers[bufferCount].attributeCount = 0; in CreateRenderPipelineWithBufferDesc()
160 descriptor.cBuffers[bufferCount].attributes = nullptr; in CreateRenderPipelineWithBufferDesc()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexInputTests.cpp153 uint32_t bufferCount = 0; 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()
168 vertexInput.cBuffers[bufferCount].attributeCount = in MakeVertexInput()
171 bufferCount++; in MakeVertexInput()
174 vertexInput.bufferCount = bufferCount; in MakeVertexInput()
DDrawTests.cpp49 descriptor.cVertexInput.bufferCount = 1; in SetUp()
DDrawIndirectTests.cpp49 descriptor.cVertexInput.bufferCount = 1; in SetUp()
DDrawIndexedTests.cpp49 descriptor.cVertexInput.bufferCount = 1; in SetUp()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.cpp158 mConfig.bufferCount = PresentModeToBufferCount(GetPresentMode()); in Initialize()
221 CheckHRESULT(mDXGISwapChain->ResizeBuffers(mConfig.bufferCount, GetWidth(), GetHeight(), in Initialize()
240 swapChainDesc.BufferCount = mConfig.bufferCount; in InitializeSwapChainFromScratch()
294 mBuffers.resize(mConfig.bufferCount); in CollectSwapChainBuffers()
295 for (uint32_t i = 0; i < mConfig.bufferCount; i++) { in CollectSwapChainBuffers()
301 mBufferLastUsedSerials.resize(mConfig.bufferCount, ExecutionSerial(0)); in CollectSwapChainBuffers()
DSwapChainD3D12.h58 UINT bufferCount; member
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAtomicCounterBufferTest.cpp326 for (int32_t bufferCount = 0; bufferCount < maxAtomicCounterBuffers; bufferCount++) in TEST_P() local
332 uint32_t bindingSlotIndex = bufferCount % kBindingSlotsSize; in TEST_P()
335 bool even = (bufferCount % 2 == 0); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindingInfo.cpp53 ++bindingCounts->bufferCount; in IncrementBindingCounts()
104 bindingCounts->bufferCount += rhs.bufferCount; in AccumulateBindingCounts()
DBindingInfo.h87 uint32_t bufferCount; member
DBindGroupLayout.cpp473 return BindingIndex(mBindingCounts.bufferCount); in GetBufferCount()
518 size_t objectPointerStart = mBindingCounts.bufferCount * sizeof(BufferBindingData); in GetBindingDataSize()
530 auto bindings = reinterpret_cast<Ref<ObjectBase>*>(bufferData + mBindingCounts.bufferCount); in ComputeBindingDataPointers()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderTests.cpp174 rpDesc.vertex.bufferCount = 1; in TEST_P()
222 rpDesc.vertex.bufferCount = 1; in TEST_P()
269 rpDesc.vertex.bufferCount = 1; in TEST_P()
311 rpDesc.vertex.bufferCount = 1; in TEST_P()
357 rpDesc.vertex.bufferCount = 1; in TEST_P()
383 descriptor.vertex.bufferCount = 1; in TEST_P()
DDrawTests.cpp44 descriptor.vertex.bufferCount = 1; in SetUp()
DDrawIndirectTests.cpp45 descriptor.vertex.bufferCount = 1; in SetUp()
DVertexStateTests.cpp150 descriptor.vertex.bufferCount = vertexState.vertexBufferCount; in MakeTestPipeline()
624 pipelineDesc.vertex.bufferCount = vertexState.vertexBufferCount; in TEST_P()
678 descriptor.vertex.bufferCount = 0; in TEST_P()
/third_party/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp190 descriptor.vertex.bufferCount = 1; in init()
208 descriptor.vertex.bufferCount = 1; in init()
227 descriptor.vertex.bufferCount = 1; in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm296 uint32_t bufferCount = ToBackend(pipeline->GetLayout())
300 bufferCount += pipeline->GetVertexBufferCount();
303 bufferCount = Align(bufferCount, 4);
304 ASSERT(bufferCount <= data[SingleShaderStage::Vertex].size());
307 length:sizeof(uint32_t) * bufferCount
312 uint32_t bufferCount = ToBackend(pipeline->GetLayout())
314 bufferCount = Align(bufferCount, 4);
315 ASSERT(bufferCount <= data[SingleShaderStage::Fragment].size());
318 length:sizeof(uint32_t) * bufferCount
335 uint32_t bufferCount = ToBackend(pipeline->GetLayout())
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTransformFeedbackOverflowQueryTests.cpp1295 m_tf_buffer_count = bufferCount(); in setupTransformFeedbackBuffers()
1376 virtual GLsizei bufferCount() = 0;
1462 virtual GLsizei bufferCount() in bufferCount() function in gl3cts::TransformFeedbackOverflowQueryBasicSingleStreamInterleavedAttribs
1528 virtual GLsizei bufferCount() in bufferCount() function in gl3cts::TransformFeedbackOverflowQueryBasicSingleStreamSeparateAttribs
1601 virtual GLsizei bufferCount() in bufferCount() function in gl3cts::TransformFeedbackOverflowQueryAdvancedSingleStreamInterleavedAttribs
1703 virtual GLsizei bufferCount() in bufferCount() function in gl3cts::TransformFeedbackOverflowQueryAdvancedSingleStreamSeparateAttribs
1818 virtual GLsizei bufferCount() in bufferCount() function in gl3cts::TransformFeedbackOverflowQueryMultipleStreamsBase
/third_party/mesa3d/include/android_stub/vndk/
Dwindow.h269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h105 uint32_t bufferCount; member
335 uint32_t bufferCount; member
505 uint32_t bufferCount,
897 uint32_t bufferCount, in beginTransformFeedback() argument
904 size_t bufferSize = bufferCount * sizeof(VkBuffer); in beginTransformFeedback()
907 paramStruct->bufferCount = bufferCount; in beginTransformFeedback()
1311 paramStruct->bufferCount = counterBufferCount; in endTransformFeedback()
/third_party/mesa3d/include/android_stub/system/
Dwindow.h731 size_t bufferCount) in native_window_set_buffer_count() argument
733 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp25 descriptor->bufferCount = 0; in ComboVertexInputDescriptor()

1234