Searched refs:vertexAttrib (Results 1 – 7 of 7) 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 | 128 bool isValidVertexAttrib (const VertexAttrib& vertexAttrib); 131 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, c… 132 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, … 133 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, … 137 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribFloat() argument 140 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribFloat() 144 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt() argument 147 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribInt() 151 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribUint() argument 154 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 …]
|
/external/chromium_org/third_party/mesa/src/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 …]
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGpuGL_program.cpp | 353 const GrVertexAttrib* vertexAttrib = optState->getVertexAttribs(); in setupGeometry() local 356 ++vertexAttribIndex, ++vertexAttrib) { in setupGeometry() 358 GrVertexAttribType attribType = vertexAttrib->fType; in setupGeometry() 367 vertexOffsetInBytes + vertexAttrib->fOffset)); in setupGeometry()
|
/external/skia/src/gpu/gl/ |
D | GrGpuGL_program.cpp | 351 const GrVertexAttrib* vertexAttrib = this->getDrawState().getVertexAttribs(); in setupGeometry() local 354 ++vertexAttribIndex, ++vertexAttrib) { in setupGeometry() 357 GrVertexAttribType attribType = vertexAttrib->fType; in setupGeometry() 366 vertexOffsetInBytes + vertexAttrib->fOffset)); in setupGeometry()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | State.cpp | 1438 const gl::VertexAttribute &vertexAttrib = getVertexAttribState(attribIndex); in hasMappedBuffer() local 1439 gl::Buffer *boundBuffer = vertexAttrib.buffer.get(); in hasMappedBuffer() 1440 if (vertexAttrib.enabled && boundBuffer && boundBuffer->isMapped()) in hasMappedBuffer()
|