Home
last modified time | relevance | path

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

12

/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/vk-gl-cts/external/vulkancts/modules_no_buildgn/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
/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_no_buildgn/vulkan/draw/
DvktDrawInstancedTests.cpp746 const rr::VertexAttrib vertexAttribs[] = in iterate() local
757 …d command(renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), &vertexAttribs[0], in iterate()
766 …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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp746 const rr::VertexAttrib vertexAttribs[] = in iterate() local
757 …d command(renderState, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), &vertexAttribs[0], in iterate()
766 …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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiSmokeTests.cpp319 const rr::VertexAttrib vertexAttribs[] = in renderReferenceTriangle() local
327 DE_LENGTH_OF_ARRAY(vertexAttribs), in renderReferenceTriangle()
328 &vertexAttribs[0], in renderReferenceTriangle()
/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.hpp144 const VertexAttribs& vertexAttribs,
DvktProtectedMemShaderImageAccessTests.cpp940 VertexAttribs vertexAttribs; in executeFragmentTest() local
1000 vertexAttribs.push_back(vertexInputAttributeDescriptions[0]); in executeFragmentTest()
1001 vertexAttribs.push_back(vertexInputAttributeDescriptions[1]); in executeFragmentTest()
1024 vertexAttribs, in executeFragmentTest()
DvktProtectedMemUtils.cpp597 const VertexAttribs& vertexAttribs, in makeGraphicsPipeline() argument
612 …(deUint32)vertexAttribs.size(), // deUint32 vertexAttrib… in makeGraphicsPipeline()
613vertexAttribs.data() // const VkVertexInputAttributeDescription* pVertexAttributeDescr… in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemUtils.hpp144 const VertexAttribs& vertexAttribs,
DvktProtectedMemShaderImageAccessTests.cpp940 VertexAttribs vertexAttribs; in executeFragmentTest() local
1000 vertexAttribs.push_back(vertexInputAttributeDescriptions[0]); in executeFragmentTest()
1001 vertexAttribs.push_back(vertexInputAttributeDescriptions[1]); in executeFragmentTest()
1024 vertexAttribs, in executeFragmentTest()
DvktProtectedMemUtils.cpp597 const VertexAttribs& vertexAttribs, in makeGraphicsPipeline() argument
612 …(deUint32)vertexAttribs.size(), // deUint32 vertexAttrib… in makeGraphicsPipeline()
613vertexAttribs.data() // const VkVertexInputAttributeDescription* pVertexAttributeDescr… in makeGraphicsPipeline()
/third_party/vk-gl-cts/modules/internal/
DditFrameworkTests.cpp774 const rr::VertexAttrib vertexAttribs[] = in runCase() local
782 … drawCmd (state, renderTarget, program, DE_LENGTH_OF_ARRAY(vertexAttribs), vertexAttribs, primi… in runCase()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp4335 std::vector<rr::VertexAttrib> vertexAttribs; in drawWithReference() local
4418 vertexAttribs.resize(vao.m_arrays.size()); in drawWithReference()
4423vertexAttribs[ndx].type = rr::VERTEXATTRIBTYPE_DONT_CARE; // reading with wrong type is allowed, b… in drawWithReference()
4424 vertexAttribs[ndx].generic = m_currentAttribs[ndx]; in drawWithReference()
4428vertexAttribs[ndx].type = rr::VERTEXATTRIBTYPE_DONT_CARE; // reading from deleted buffer, output z… in drawWithReference()
4429 vertexAttribs[ndx].generic = tcu::Vec4(0, 0, 0, 0); in drawWithReference()
4433 vertexAttribs[ndx].type = (vao.m_arrays[ndx].integer) ? in drawWithReference()
4436 vertexAttribs[ndx].size = sglr::rr_util::mapGLSize(vao.m_arrays[ndx].size); in drawWithReference()
4437 vertexAttribs[ndx].stride = vao.m_arrays[ndx].stride; in drawWithReference()
4438 vertexAttribs[ndx].instanceDivisor = vao.m_arrays[ndx].divisor; in drawWithReference()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryAddressBindingTests.cpp1060 const VkVertexInputAttributeDescription vertexAttribs[] = in create() local
1076 DE_LENGTH_OF_ARRAY(vertexAttribs), // uint32_t vertexAttributeDescriptionCount; in create()
1077vertexAttribs, // const VkVertexInputAttributeDescription* pVertexAttributeDescripti… in create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp138 const rr::VertexAttrib vertexAttribs[] = in renderReferenceTriangle() local
145 DE_LENGTH_OF_ARRAY(vertexAttribs), in renderReferenceTriangle()
146 &vertexAttribs[0], in renderReferenceTriangle()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAddressBindingTests.cpp1060 const VkVertexInputAttributeDescription vertexAttribs[] = in create() local
1076 DE_LENGTH_OF_ARRAY(vertexAttribs), // uint32_t vertexAttributeDescriptionCount; in create()
1077vertexAttribs, // const VkVertexInputAttributeDescription* pVertexAttributeDescripti… in create()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/
DvktDeviceGroupRendering.cpp138 const rr::VertexAttrib vertexAttribs[] = in renderReferenceTriangle() local
145 DE_LENGTH_OF_ARRAY(vertexAttribs), in renderReferenceTriangle()
146 &vertexAttribs[0], in renderReferenceTriangle()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp3979 vector<VkVertexInputAttributeDescription> vertexAttribs; in runAndVerifyDefaultPipeline() local
3997 vertexAttribs.push_back(attr0); in runAndVerifyDefaultPipeline()
4006 vertexAttribs.push_back(attr1); in runAndVerifyDefaultPipeline()
4041 vertexAttribs.push_back(attr); in runAndVerifyDefaultPipeline()
4052vertexAttribs.data(), // const VkVertexInputAttributeDescription* pVertexAttributeDescrip… in runAndVerifyDefaultPipeline()

12