Home
last modified time | relevance | path

Searched refs:vertexAttrib (Results 1 – 5 of 5) sorted by relevance

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.cpp461 bool isValidVertexAttrib (const VertexAttrib& vertexAttrib) in isValidVertexAttrib() argument
464 if (!de::inBounds<int>(vertexAttrib.type, 0, VERTEXATTRIBTYPE_LAST) || in isValidVertexAttrib()
465 !de::inRange(vertexAttrib.size, 0, 4) || in isValidVertexAttrib()
466 vertexAttrib.instanceDivisor < 0) in isValidVertexAttrib()
470 if (!vertexAttrib.pointer && vertexAttrib.type != VERTEXATTRIBTYPE_DONT_CARE) in isValidVertexAttrib()
474 if ((vertexAttrib.type == VERTEXATTRIBTYPE_NONPURE_INT_2_10_10_10_REV || in isValidVertexAttrib()
475 vertexAttrib.type == VERTEXATTRIBTYPE_NONPURE_UINT_2_10_10_10_REV || in isValidVertexAttrib()
476 vertexAttrib.type == VERTEXATTRIBTYPE_NONPURE_UNORM_2_10_10_10_REV || in isValidVertexAttrib()
477 vertexAttrib.type == VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_CLAMP || in isValidVertexAttrib()
478 vertexAttrib.type == VERTEXATTRIBTYPE_NONPURE_SNORM_2_10_10_10_REV_SCALE || in isValidVertexAttrib()
[all …]
DrrVertexAttrib.hpp148 bool isValidVertexAttrib (const VertexAttrib& vertexAttrib);
151 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, c…
152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, …
153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, …
157 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribFloat() argument
160 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribFloat()
164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt() argument
167 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribInt()
171 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribUint() argument
174 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribUint()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c246 struct gl_vertex_array *vertexAttrib = ctx->Array.VAO->_VertexAttrib; in recalculate_input_bindings() local
260 inputs[i] = &vertexAttrib[VERT_ATTRIB_FF(i)]; in recalculate_input_bindings()
301 inputs[0] = &vertexAttrib[VERT_ATTRIB_GENERIC0]; in recalculate_input_bindings()
303 inputs[0] = &vertexAttrib[VERT_ATTRIB_POS]; in recalculate_input_bindings()
311 inputs[i] = &vertexAttrib[VERT_ATTRIB_FF(i)]; in recalculate_input_bindings()
321 &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings()
346 &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings()
/external/deqp/external/vulkancts/modules/vulkan/
DvktDrawUtil.cpp340 const rr::VertexAttrib vertexAttrib[] = in draw() local
348 DE_LENGTH_OF_ARRAY(vertexAttrib), in draw()
349 &vertexAttrib[0], in draw()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1750 const VkVertexInputAttributeDescription vertexAttrib = in createSubpassPipeline() local
1765 &vertexAttrib, // pVertexAttributeDescriptions in createSubpassPipeline()