Home
last modified time | relevance | path

Searched refs:attribType (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/src/Shader/
DVertexShader.cpp36 attribType[i] = ATTRIBTYPE_FLOAT; in VertexShader()
48 memcpy(attribType, vs->attribType, sizeof(attribType)); in VertexShader()
73 attribType[i] = ATTRIBTYPE_FLOAT; in VertexShader()
163 attribType[inputIdx] = aType; in setInput()
193 return attribType[inputIdx]; in getAttribType()
DVertexShader.hpp43 void setInput(int inputIdx, const Semantic& semantic, AttribType attribType = ATTRIBTYPE_FLOAT);
67 AttribType attribType[MAX_VERTEX_INPUTS]; member in sw::VertexShader
DVertexRoutine.cpp151 …bool isNativeFloatAttrib = (stream.attribType == VertexShader::ATTRIBTYPE_FLOAT) || stream.normali… in readStream()
180 switch(stream.attribType) in readStream()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DInputLayoutCache.cpp59 uint8_t attribType; member
77 gl::AttributeType attribType = gl::GetAttributeType(glType); in addAttributeData() local
80 packedAttrib.attribType = static_cast<uint8_t>(attribType); in addAttributeData()
86 ASSERT(static_cast<gl::AttributeType>(packedAttrib.attribType) == attribType); in addAttributeData()
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp184 const rsg::VariableType& attribType = attribVar->getType(); in shadeVertices() local
185 const int numComponents = attribType.getNumElements(); in shadeVertices()
188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeVertices()
/external/swiftshader/src/Device/
DVertexProcessor.hpp78 unsigned int attribType : BITS(SpirvShader::ATTRIBTYPE_LAST); member
DVertexProcessor.cpp82 state.input[i].attribType = vertexShader->inputs[i * 4].Type; in update()
/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp183 state.input[i].attribType = bytecodeShader->getAttribType(i); in LLVMFuzzerTestOneInput()
/external/angle/src/tests/gl_tests/
DVertexAttributeTest.cpp18 GLsizei TypeStride(GLenum attribType) in TypeStride() argument
20 switch (attribType) in TypeStride()
2563 GLenum attribType,
2628 GLenum attribType, in GetExpectedData() argument
2634 size_t iterations = srcData.size() / TypeStride(attribType); in GetExpectedData()
2689 for (GLenum attribType : attribTypes) in testSetUp() local
2695 mTestData.push_back(AttribData(attribType, attribSize, GL_FALSE, stride)); in testSetUp()
2696 if (attribType != GL_FLOAT) in testSetUp()
2698 mTestData.push_back(AttribData(attribType, attribSize, GL_TRUE, stride)); in testSetUp()
/external/swiftshader/src/Renderer/
DVertexProcessor.hpp107 unsigned int attribType : BITS(VertexShader::ATTRIBTYPE_LAST); member
DVertexProcessor.cpp996 …state.input[i].attribType = context->vertexShader ? context->vertexShader->getAttribType(i) : Vert… in update()
/external/deqp/modules/egl/
DteglSyncTests.cpp376 template <typename createSyncFuncType, typename attribType>
387 const attribType attribList[] = in test()
550 template <typename createSyncFuncType, typename attribType>
561 attribType attribs[] = { in test()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1803 gl::ComponentType attribType = in initializePipeline() local
1810 if (attribType != programAttribType) in initializePipeline()
1812 if (attribType == gl::ComponentType::Float || in initializePipeline()
1843 attribType == gl::ComponentType::Float || attribSize != shaderVarSize) in initializePipeline()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp3370 sw::VertexShader::AttribType attribType = sw::VertexShader::ATTRIBTYPE_FLOAT; in attributeRegister() local
3374 attribType = sw::VertexShader::ATTRIBTYPE_INT; in attributeRegister()
3377 attribType = sw::VertexShader::ATTRIBTYPE_UINT; in attributeRegister()
3388 …etInput(index + i, sw::Shader::Semantic(sw::Shader::USAGE_TEXCOORD, index + i, false), attribType); in attributeRegister()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp349 glu::VarType attribType = glu::getVarType(type, vecIter.getPath()); in genShaderSources() local
352 vtx << "in " << glu::declare(attribType, attribName.c_str()) << ";\n"; in genShaderSources()
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp199 bool isNativeFloatAttrib = (stream.attribType == SpirvShader::ATTRIBTYPE_FLOAT) || normalized; in readStream()
/external/angle/src/libANGLE/renderer/d3d/
DProgramD3D.cpp64 gl::VertexAttribType attribType = in GetDefaultInputLayoutFromShader() local
68 gl::GetVertexFormatID(attribType, GL_FALSE, components, pureInt); in GetDefaultInputLayoutFromShader()