Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DVertexProcessor.hpp78 unsigned int attribType : BITS(SpirvShader::ATTRIBTYPE_LAST); member
DVertexProcessor.cpp83 state.input[i].attribType = vertexShader->inputs[i * 4].Type; in update()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp18 GLsizei TypeStride(GLenum attribType) in TypeStride() argument
20 switch (attribType) in TypeStride()
2630 GLenum attribType,
2695 GLenum attribType, in GetExpectedData() argument
2701 size_t iterations = srcData.size() / TypeStride(attribType); in GetExpectedData()
2756 for (GLenum attribType : attribTypes) in testSetUp() local
2762 mTestData.push_back(AttribData(attribType, attribSize, GL_FALSE, stride)); in testSetUp()
2763 if (attribType != GL_FLOAT) in testSetUp()
2765 mTestData.push_back(AttribData(attribType, attribSize, GL_TRUE, stride)); in testSetUp()
/third_party/skia/third_party/externals/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1832 gl::ComponentType attribType = GetVertexAttributeComponentType( in initializePipeline() local
1839 if (attribType != programAttribType) in initializePipeline()
1841 if (attribType == gl::ComponentType::Float || in initializePipeline()
1867 attribType == gl::ComponentType::Float) in initializePipeline()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp3368 sw::VertexShader::AttribType attribType = sw::VertexShader::ATTRIBTYPE_FLOAT; in attributeRegister() local
3372 attribType = sw::VertexShader::ATTRIBTYPE_INT; in attributeRegister()
3375 attribType = sw::VertexShader::ATTRIBTYPE_UINT; in attributeRegister()
3386 …etInput(index + i, sw::Shader::Semantic(sw::Shader::USAGE_TEXCOORD, index + i, false), attribType); in attributeRegister()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DVertexRoutine.cpp209 bool isNativeFloatAttrib = (stream.attribType == SpirvShader::ATTRIBTYPE_FLOAT) || normalized; in readStream()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.cpp64 gl::VertexAttribType attribType = in GetDefaultInputLayoutFromShader() local
68 gl::GetVertexFormatID(attribType, GL_FALSE, components, pureInt); in GetDefaultInputLayoutFromShader()