/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | FirstIndexOffsetTests.cpp | 47 void TestInstanceIndex(DrawMode mode, uint32_t firstInstance); 48 void TestBothIndices(DrawMode mode, uint32_t firstVertex, uint32_t firstInstance); 68 void FirstIndexOffsetTests::TestInstanceIndex(DrawMode mode, uint32_t firstInstance) { in TestInstanceIndex() argument 69 TestImpl(mode, CheckIndex::Instance, 0, firstInstance); in TestInstanceIndex() 74 uint32_t firstInstance) { in TestBothIndices() 76 TestImpl(mode, CheckIndex::Vertex | CheckIndex::Instance, firstVertex, firstInstance); in TestBothIndices() 79 // Conditionally tests if first/baseVertex and/or firstInstance have been correctly passed to the 86 uint32_t firstInstance) { in TestImpl() 179 // With DrawIndirect firstInstance is reserved and must be 0 according to spec. in TestImpl() 180 ASSERT_EQ(firstInstance, in TestImpl() 72 TestBothIndices(DrawMode mode, uint32_t firstVertex, uint32_t firstInstance) TestBothIndices() argument 83 TestImpl(DrawMode mode, CheckIndex checkIndex, uint32_t firstVertex, uint32_t firstInstance) TestImpl() argument [all...] |
H A D | DrawIndexedTests.cpp | 81 uint32_t firstInstance, in Test() 86 TestImplementation(indexCount, instanceCount, firstIndex, baseVertex, firstInstance, in Test() 102 uint32_t firstInstance, in TestImplementation() 113 pass.DrawIndexed(indexCount, instanceCount, firstIndex, baseVertex, firstInstance); in TestImplementation() 77 Test(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance, uint64_t bufferOffset, RGBA8 bottomLeftExpected, RGBA8 topRightExpected) Test() argument 98 TestImplementation(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance, uint64_t bufferOffset, const wgpu::Buffer& curIndexBuffer, RGBA8 bottomLeftExpected, RGBA8 topRightExpected) TestImplementation() argument
|
H A D | DrawTests.cpp | 68 uint32_t firstInstance, in Test() 76 pass.Draw(vertexCount, instanceCount, firstIndex, firstInstance); in Test() 65 Test(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstIndex, uint32_t firstInstance, RGBA8 bottomLeftExpected, RGBA8 topRightExpected) Test() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | RenderEncoderBase.cpp | 85 uint32_t firstInstance) { in APIDraw() 92 DAWN_INVALID_IF(mDisableBaseInstance && firstInstance != 0, in APIDraw() 93 "First instance (%u) must be zero.", firstInstance); in APIDraw() 98 instanceCount, firstInstance)); in APIDraw() 105 draw->firstInstance = firstInstance; in APIDraw() 110 firstInstance); in APIDraw() 117 uint32_t firstInstance) { in APIDrawIndexed() 124 DAWN_INVALID_IF(mDisableBaseInstance && firstInstance != 0, in APIDrawIndexed() 125 "First instance (%u) must be zero.", firstInstance); in APIDrawIndexed() 82 APIDraw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) APIDraw() argument 113 APIDrawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) APIDrawIndexed() argument [all...] |
H A D | RenderEncoderBase.h | 39 uint32_t firstInstance = 0); 44 uint32_t firstInstance);
|
H A D | CommandBufferStateTracker.cpp | 126 uint32_t firstInstance) { in ValidateBufferInRangeForInstanceBuffer() 146 (static_cast<uint64_t>(firstInstance) + instanceCount) * arrayStride; in ValidateBufferInRangeForInstanceBuffer() 147 // firstInstance and instanceCount are in uint32_t, and arrayStride must in ValidateBufferInRangeForInstanceBuffer() 154 firstInstance, instanceCount, requiredSize, bufferSize, in ValidateBufferInRangeForInstanceBuffer() 124 ValidateBufferInRangeForInstanceBuffer( uint32_t instanceCount, uint32_t firstInstance) ValidateBufferInRangeForInstanceBuffer() argument
|
H A D | Commands.h | 166 uint32_t firstInstance; member 174 uint32_t firstInstance; member
|
H A D | CommandBufferStateTracker.h | 35 uint32_t firstInstance);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | VulkanSecondaryCommandBuffer.h | 112 uint32_t firstInstance); 118 uint32_t firstInstance); 123 uint32_t firstInstance); 134 uint32_t firstInstance); 351 uint32_t firstInstance) in draw() 355 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw() 377 uint32_t firstInstance) in drawInstancedBaseInstance() 381 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in drawInstancedBaseInstance() 388 uint32_t firstInstance) in drawIndexed() 392 CommandBuffer::drawIndexed(indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); in drawIndexed() 348 draw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) draw() argument 374 drawInstancedBaseInstance(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) drawInstancedBaseInstance() argument 384 drawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) drawIndexed() argument 428 drawIndexedInstancedBaseVertexBaseInstance( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) drawIndexedInstancedBaseVertexBaseInstance() argument [all...] |
H A D | SecondaryCommandBuffer.h | 292 uint32_t firstInstance; member 318 uint32_t firstInstance; member 607 uint32_t firstInstance); 618 uint32_t firstInstance); 1232 uint32_t firstInstance) in drawIndexedInstancedBaseVertexBaseInstance() 1241 paramStruct->firstInstance = firstInstance; in drawIndexedInstancedBaseVertexBaseInstance() 1275 uint32_t firstInstance) in drawInstancedBaseInstance() 1282 paramStruct->firstInstance = firstInstance; in drawInstancedBaseInstance() 1227 drawIndexedInstancedBaseVertexBaseInstance( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) drawIndexedInstancedBaseVertexBaseInstance() argument 1272 drawInstancedBaseInstance(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) drawInstancedBaseInstance() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInstancedTests.cpp | 174 TestVertShader (int numInstances, int firstInstance) in TestVertShader() argument 177 , m_firstInstance (firstInstance) in TestVertShader() 238 void prepareVertexData (int instanceCount, int firstInstance, int instanceDivisor); 243 vk::VkDeviceSize indexBufferSize, deUint32 firstInstance, deUint32 instanceCount); 297 " float firstInstance;\n" in InstancedDrawCase() 307 " gl_Position = in_position + vec4(float(gl_InstanceIndex - params.firstInstance) * 2.0 / params.instanceCount, 0.0, 0.0, 0.0);\n" in InstancedDrawCase() 615 // Require 'drawIndirectFirstInstance' feature to run non-zero firstInstance indirect draw tests. in iterate() 629 const deUint32 firstInstance = firstInstanceIndices[firstInstanceIndexNdx]; in iterate() local 631 prepareVertexData(prepareCount, firstInstance, m_params.testAttribDivisor ? m_params.attribDivisor : 1); in iterate() 647 firstInstance // uint32_ in iterate() 798 resultDesc << "Image layer " << i << " comparison result. Instance count: " << instanceCount << " first instance index: " << firstInstance; iterate() local 823 prepareVertexData(int instanceCount, int firstInstance, int instanceDivisor) prepareVertexData() argument 957 draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer vertexBuffer, vk::VkBuffer instancedVertexBuffer, de::SharedPtr<Buffer> indexBuffer, de::SharedPtr<Buffer> indirectBuffer, vk::VkDeviceSize indexBufferSize, deUint32 firstInstance, deUint32 instanceCount) draw() argument [all...] |
H A D | vktDrawSimpleTest.cpp | 53 void draw (vk::VkCommandBuffer cmdBuffer, deUint32 instanceCount = 1u, deUint32 firstInstance = 0u); 229 void SimpleDraw::draw(vk::VkCommandBuffer cmdBuffer, deUint32 instanceCount, deUint32 firstInstance) in draw() argument 234 m_vk.cmdDraw(cmdBuffer, 6, instanceCount, 2, firstInstance); in draw() 237 m_vk.cmdDraw(cmdBuffer, 4, instanceCount, 2, firstInstance); in draw()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawInstancedTests.cpp | 167 TestVertShader (int numInstances, int firstInstance) in TestVertShader() argument 170 , m_firstInstance (firstInstance) in TestVertShader() 231 void prepareVertexData (int instanceCount, int firstInstance, int instanceDivisor); 236 deUint32 firstInstance, deUint32 instanceCount); 285 " float firstInstance;\n" in InstancedDrawCase() 295 " gl_Position = in_position + vec4(float(gl_InstanceIndex - params.firstInstance) * 2.0 / params.instanceCount, 0.0, 0.0, 0.0);\n" in InstancedDrawCase() 598 // Require 'drawIndirectFirstInstance' feature to run non-zero firstInstance indirect draw tests. in iterate() 611 const deUint32 firstInstance = firstInstanceIndices[firstInstanceIndexNdx]; in iterate() local 613 prepareVertexData(prepareCount, firstInstance, m_params.testAttribDivisor ? m_params.attribDivisor : 1); in iterate() 629 firstInstance // uint32_ in iterate() 780 resultDesc << "Image layer " << i << " comparison result. Instance count: " << instanceCount << " first instance index: " << firstInstance; iterate() local 805 prepareVertexData(int instanceCount, int firstInstance, int instanceDivisor) prepareVertexData() argument 922 draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer vertexBuffer, vk::VkBuffer instancedVertexBuffer, de::SharedPtr<Buffer> indexBuffer, de::SharedPtr<Buffer> indirectBuffer, deUint32 firstInstance, deUint32 instanceCount) draw() argument [all...] |
H A D | vktDrawSimpleTest.cpp | 53 void draw (vk::VkCommandBuffer cmdBuffer, deUint32 instanceCount = 1u, deUint32 firstInstance = 0u); 229 void SimpleDraw::draw(vk::VkCommandBuffer cmdBuffer, deUint32 instanceCount, deUint32 firstInstance) in draw() argument 234 m_vk.cmdDraw(cmdBuffer, 6, instanceCount, 2, firstInstance); in draw() 237 m_vk.cmdDraw(cmdBuffer, 4, instanceCount, 2, firstInstance); in draw()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPURenderBundleEncoder.cpp | 140 interop::GPUSize32 firstInstance) { in draw() 141 enc_.Draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw() 149 interop::GPUSize32 firstInstance) { in drawIndexed() 150 enc_.DrawIndexed(indexCount, instanceCount, firstIndex, baseVertex, firstInstance); in drawIndexed() 136 draw(Napi::Env env, interop::GPUSize32 vertexCount, interop::GPUSize32 instanceCount, interop::GPUSize32 firstVertex, interop::GPUSize32 firstInstance) draw() argument 144 drawIndexed(Napi::Env env, interop::GPUSize32 indexCount, interop::GPUSize32 instanceCount, interop::GPUSize32 firstIndex, interop::GPUSignedOffset32 baseVertex, interop::GPUSize32 firstInstance) drawIndexed() argument
|
H A D | GPURenderPassEncoder.cpp | 210 interop::GPUSize32 firstInstance) { in draw() 211 enc_.Draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw() 219 interop::GPUSize32 firstInstance) { in drawIndexed() 220 enc_.DrawIndexed(indexCount, instanceCount, firstIndex, baseVertex, firstInstance); in drawIndexed() 206 draw(Napi::Env env, interop::GPUSize32 vertexCount, interop::GPUSize32 instanceCount, interop::GPUSize32 firstVertex, interop::GPUSize32 firstInstance) draw() argument 214 drawIndexed(Napi::Env env, interop::GPUSize32 indexCount, interop::GPUSize32 instanceCount, interop::GPUSize32 firstIndex, interop::GPUSignedOffset32 baseVertex, interop::GPUSize32 firstInstance) drawIndexed() argument
|
H A D | GPURenderBundleEncoder.h | 64 interop::GPUSize32 firstInstance) override; 70 interop::GPUSize32 firstInstance) override;
|
H A D | GPURenderPassEncoder.h | 93 interop::GPUSize32 firstInstance) override; 99 interop::GPUSize32 firstInstance) override;
|
/third_party/gptfdisk/ |
H A D | guid.cc | 29 bool GUIDData::firstInstance = 1; 32 if (firstInstance) { in GUIDData() 34 firstInstance = 0; in GUIDData()
|
H A D | guid.h | 37 static bool firstInstance; member in GUIDData
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.cpp | 475 uint32_t count, uint32_t instanceCount, uint32_t first, int32_t vertexOffset, uint32_t firstInstance) in draw() 489 inputs.bindVertexInputs(firstInstance); in draw() 497 for(uint32_t instance = firstInstance; instance != firstInstance + instanceCount; instance++) in draw() 523 CmdDraw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) in CmdDraw() argument 527 , firstInstance(firstInstance) in CmdDraw() 533 draw(executionState, false, vertexCount, instanceCount, 0, firstVertex, firstInstance); 542 const uint32_t firstInstance; member in __anon22994::CmdDraw 548 CmdDrawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) in CmdDrawIndexed() argument 474 draw(vk::CommandBuffer::ExecutionState &executionState, bool indexed, uint32_t count, uint32_t instanceCount, uint32_t first, int32_t vertexOffset, uint32_t firstInstance) draw() argument 569 const uint32_t firstInstance; global() member in __anon22994::CmdDrawIndexed 1693 draw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) draw() argument 1698 drawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) drawIndexed() argument [all...] |
H A D | VkCommandBuffer.hpp | 126 void draw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance); 127 void drawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance);
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_cmd_enqueue.c | 37 uint32_t firstInstance, in vk_cmd_enqueue_CmdDrawMultiEXT() 65 cmd->u.draw_multi_ext.first_instance = firstInstance; in vk_cmd_enqueue_CmdDrawMultiEXT() 74 uint32_t firstInstance, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() 107 cmd->u.draw_multi_indexed_ext.first_instance = firstInstance; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() 33 vk_cmd_enqueue_CmdDrawMultiEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawInfoEXT *pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride) vk_cmd_enqueue_CmdDrawMultiEXT() argument 70 vk_cmd_enqueue_CmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawIndexedInfoEXT *pIndexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, const int32_t *pVertexOffset) vk_cmd_enqueue_CmdDrawMultiIndexedEXT() argument
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | DrawVertexAndIndexBufferOOBValidationTests.cpp | 46 // vertex-step-mode, and {instanceCount + firstInstance} 220 uint32_t firstInstance, in TestRenderPassDraw() 231 renderPassEncoder.Draw(vertexCount, instanceCount, firstVertex, firstInstance); in TestRenderPassDraw() 248 uint32_t firstInstance, in TestRenderPassDrawIndexed() 263 firstInstance); in TestRenderPassDrawIndexed() 524 // firstInstance is considered in CPU validation in TEST_F() 528 // Vertex buffer (stepMode = instance) OOB, instanceCount + firstInstance too in TEST_F() 215 TestRenderPassDraw(const wgpu::RenderPipeline& pipeline, VertexBufferList vertexBufferList, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, bool isSuccess) TestRenderPassDraw() argument 241 TestRenderPassDrawIndexed(const wgpu::RenderPipeline& pipeline, IndexBufferDesc indexBuffer, VertexBufferList vertexBufferList, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance, bool isSuccess) TestRenderPassDrawIndexed() argument
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCommandBuffer.h | 90 uint32_t firstInstance); 96 uint32_t firstInstance);
|