Home
last modified time | relevance | path

Searched refs:vertexAttribs (Results 1 – 23 of 23) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp279 rr::VertexAttrib vertexAttribs[2]; in draw() local
282 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_FLOAT; in draw()
283 vertexAttribs[0].size = 4; in draw()
284 vertexAttribs[0].pointer = positions.data(); in draw()
286 vertexAttribs[1].type = rr::VERTEXATTRIBTYPE_FLOAT; in draw()
287 vertexAttribs[1].size = 4; in draw()
288 vertexAttribs[1].pointer = colors.data(); in draw()
290 …rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primit… in draw()
312 rr::VertexAttrib vertexAttribs[3]; in draw() local
315 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_FLOAT; in draw()
[all …]
/third_party/skia/src/gpu/vk/
DGrVkPipeline.cpp82 const GrGeometryProcessor::AttributeSet& vertexAttribs, in setup_vertex_input_state() argument
87 int vaCount = vertexAttribs.count(); in setup_vertex_input_state()
104 for (const auto& attrib : vertexAttribs) { in setup_vertex_input_state()
112 SkASSERT(vertexAttributeOffset == vertexAttribs.stride()); in setup_vertex_input_state()
472 const GrGeometryProcessor::AttributeSet& vertexAttribs, in Make() argument
492 int totalAttributeCnt = vertexAttribs.count() + instanceAttribs.count(); in Make()
495 setup_vertex_input_state(vertexAttribs, instanceAttribs, &vertexInputInfo, &bindingDescs, in Make()
DGrVkPipeline.h32 const GrGeometryProcessor::AttributeSet& vertexAttribs,
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderer.hpp117 , vertexAttribs (vertexAttribs_) in DrawCommand()
127 const VertexAttrib* const vertexAttribs; member in rr::DrawCommand
DrrRenderer.cpp1814 …command.program.vertexShader->shadeVertices(command.vertexAttribs, &vertexPackets[0], numVertexPac… in drawInstanced()
/third_party/vk-gl-cts/modules/glshared/
DglsTextureBufferCase.cpp680 rr::VertexAttrib vertexAttribs[1]; in renderReference() local
685 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_NONPURE_UNORM8; in renderReference()
686 vertexAttribs[0].size = 2; in renderReference()
687 vertexAttribs[0].pointer = texture.getRefBuffer().getPtr(); in renderReference()
695 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_NONPURE_UNORM8; in renderReference()
696 vertexAttribs[0].size = 2; in renderReference()
697 vertexAttribs[0].pointer = &(coords[0]); in renderReference()
703 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives); in renderReference()
710 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives); in renderReference()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.hpp146 const VertexAttribs& vertexAttribs,
157 const VertexAttribs& vertexAttribs,
DvktProtectedMemShaderImageAccessTests.cpp919 VertexAttribs vertexAttribs; in executeFragmentTest() local
979 vertexAttribs.push_back(vertexInputAttributeDescriptions[0]); in executeFragmentTest()
980 vertexAttribs.push_back(vertexInputAttributeDescriptions[1]); in executeFragmentTest()
1003 vertexAttribs, in executeFragmentTest()
DvktProtectedMemUtils.cpp563 const VertexAttribs& vertexAttribs, in makeGraphicsPipeline() argument
577 …(deUint32)vertexAttribs.size(), // deUint32 vertexAttrib… in makeGraphicsPipeline()
578vertexAttribs.data() // const VkVertexInputAttributeDescription* pVertexAttributeDescr… in makeGraphicsPipeline()
DvktProtectedMemYCbCrConversionTests.cpp876 VertexAttribs vertexAttribs; in renderYCbCrToColor() local
896 vertexAttribs.push_back(inputAttribute); in renderYCbCrToColor()
917 vertexAttribs, in renderYCbCrToColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp721 const rr::VertexAttrib vertexAttribs[] = in iterate() local
732 …d command(renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), &vertexAttribs[0], in iterate()
741 …d command(renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), &vertexAttribs[0], in iterate()
DvktDrawAhbTests.cpp167 const rr::VertexAttrib vertexAttribs[] = in generateRefImage() local
173 …renderer.draw(rr::DrawCommand(renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs in generateRefImage()
174 … &vertexAttribs[0], rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, (deUint32)vertices.size(), 0))); in generateRefImage()
DvktBasicDrawTests.cpp512 const rr::VertexAttrib vertexAttribs[] = in generateRefImage() local
521 DE_LENGTH_OF_ARRAY(vertexAttribs), in generateRefImage()
522 &vertexAttribs[0], in generateRefImage()
/third_party/vk-gl-cts/modules/internal/
DditFrameworkTests.cpp774 const rr::VertexAttrib vertexAttribs[] = in runCase() local
781 … drawCmd (state, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), vertexAttribs, rr::P… in runCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp319 const rr::VertexAttrib vertexAttribs[] = in renderReferenceTriangle() local
327 DE_LENGTH_OF_ARRAY(vertexAttribs), in renderReferenceTriangle()
328 &vertexAttribs[0], in renderReferenceTriangle()
DvktApiObjectManagementTests.cpp1677 const VkVertexInputAttributeDescription vertexAttribs[] = in createMultiple() local
1693 DE_LENGTH_OF_ARRAY(vertexAttribs), in createMultiple()
1694 vertexAttribs in createMultiple()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp4333 std::vector<rr::VertexAttrib> vertexAttribs; in drawWithReference() local
4416 vertexAttribs.resize(vao.m_arrays.size()); in drawWithReference()
4421vertexAttribs[ndx].type = rr::VERTEXATTRIBTYPE_DONT_CARE; // reading with wrong type is allowed, b… in drawWithReference()
4422 vertexAttribs[ndx].generic = m_currentAttribs[ndx]; in drawWithReference()
4426vertexAttribs[ndx].type = rr::VERTEXATTRIBTYPE_DONT_CARE; // reading from deleted buffer, output z… in drawWithReference()
4427 vertexAttribs[ndx].generic = tcu::Vec4(0, 0, 0, 0); in drawWithReference()
4431 vertexAttribs[ndx].type = (vao.m_arrays[ndx].integer) ? in drawWithReference()
4434 vertexAttribs[ndx].size = sglr::rr_util::mapGLSize(vao.m_arrays[ndx].size); in drawWithReference()
4435 vertexAttribs[ndx].stride = vao.m_arrays[ndx].stride; in drawWithReference()
4436 vertexAttribs[ndx].instanceDivisor = vao.m_arrays[ndx].divisor; in drawWithReference()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp137 const rr::VertexAttrib vertexAttribs[] = in renderReferenceTriangle() local
144 DE_LENGTH_OF_ARRAY(vertexAttribs), in renderReferenceTriangle()
145 &vertexAttribs[0], in renderReferenceTriangle()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp3976 vector<VkVertexInputAttributeDescription> vertexAttribs; in runAndVerifyDefaultPipeline() local
3994 vertexAttribs.push_back(attr0); in runAndVerifyDefaultPipeline()
4003 vertexAttribs.push_back(attr1); in runAndVerifyDefaultPipeline()
4036 vertexAttribs.push_back(attr); in runAndVerifyDefaultPipeline()
4047vertexAttribs.data(), // const VkVertexInputAttributeDescription* pVertexAttributeDescrip… in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp826 const rr::VertexAttrib vertexAttribs[] = in renderRefQuad() local
840 …and (renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), vertexAttribs, primi… in renderRefQuad()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp1071 const VkVertexInputAttributeDescription vertexAttribs[] = in create() local
1087 DE_LENGTH_OF_ARRAY(vertexAttribs), // uint32_t vertexAttributeDescriptionCount; in create()
1088vertexAttribs, // const VkVertexInputAttributeDescription* pVertexAttributeDescripti… in create()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp1987 const std::vector<gl::VertexAttribute> &vertexAttribs = vertexArray->getVertexAttributes(); in CaptureVertexArrayState() local
1997 const gl::VertexAttribute &attrib = vertexAttribs[attribIndex]; in CaptureVertexArrayState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DContext.cpp9384 const auto &vertexAttribs = vao->getVertexAttributes(); in updateVertexElementLimitsImpl() local
9389 const VertexAttribute &attrib = vertexAttribs[attributeIndex]; in updateVertexElementLimitsImpl()