Searched refs:vertexAttrib (Results 1 – 3 of 3) sorted by relevance
/external/deqp/framework/referencerenderer/ |
D | rrVertexAttrib.cpp | 461 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 …]
|
D | rrVertexAttrib.hpp | 148 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/ |
D | vbo_exec_array.c | 407 struct gl_client_array *vertexAttrib = ctx->Array.ArrayObj->VertexAttrib; in recalculate_input_bindings() local 420 if (vertexAttrib[VERT_ATTRIB_FF(i)].Enabled) in recalculate_input_bindings() 421 inputs[i] = &vertexAttrib[VERT_ATTRIB_FF(i)]; in recalculate_input_bindings() 450 && vertexAttrib[VERT_ATTRIB_GENERIC(i)].Enabled) in recalculate_input_bindings() 451 inputs[i] = &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings() 452 else if (vertexAttrib[VERT_ATTRIB_FF(i)].Enabled) in recalculate_input_bindings() 453 inputs[i] = &vertexAttrib[VERT_ATTRIB_FF(i)]; in recalculate_input_bindings() 477 if (vertexAttrib[VERT_ATTRIB_GENERIC0].Enabled) in recalculate_input_bindings() 478 inputs[0] = &vertexAttrib[VERT_ATTRIB_GENERIC0]; in recalculate_input_bindings() 479 else if (vertexAttrib[VERT_ATTRIB_POS].Enabled) in recalculate_input_bindings() [all …]
|