Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp181 const sh::ShaderVariable &shaderAttribute = shaderAttributes[attributeIndex]; in generateVertexShaderForInputLayout() local
182 if (!shaderAttribute.name.empty()) in generateVertexShaderForInputLayout()
189 if (IsMatrixType(shaderAttribute.type)) in generateVertexShaderForInputLayout()
193 << HLSLMatrixTypeString(TransposeMatrixType(shaderAttribute.type)); in generateVertexShaderForInputLayout()
197 if (shaderAttribute.name == "gl_InstanceID" || in generateVertexShaderForInputLayout()
198 shaderAttribute.name == "gl_VertexID") in generateVertexShaderForInputLayout()
210 VariableComponentCount(shaderAttribute.type)); in generateVertexShaderForInputLayout()
214 structStream << " " << DecorateVariable(shaderAttribute.name) << " : "; in generateVertexShaderForInputLayout()
216 if (shaderAttribute.name == "gl_InstanceID") in generateVertexShaderForInputLayout()
220 else if (shaderAttribute.name == "gl_VertexID") in generateVertexShaderForInputLayout()
[all …]