Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp220 const sh::ShaderVariable &shaderAttribute = shaderAttributes[attributeIndex]; in generateVertexShaderForInputLayout() local
221 if (!shaderAttribute.name.empty()) in generateVertexShaderForInputLayout()
228 if (IsMatrixType(shaderAttribute.type)) in generateVertexShaderForInputLayout()
232 << HLSLMatrixTypeString(TransposeMatrixType(shaderAttribute.type)); in generateVertexShaderForInputLayout()
236 if (shaderAttribute.name == "gl_InstanceID" || in generateVertexShaderForInputLayout()
237 shaderAttribute.name == "gl_VertexID") in generateVertexShaderForInputLayout()
249 VariableComponentCount(shaderAttribute.type)); in generateVertexShaderForInputLayout()
253 structStream << " " << DecorateVariable(shaderAttribute.name) << " : "; in generateVertexShaderForInputLayout()
255 if (shaderAttribute.name == "gl_InstanceID") in generateVertexShaderForInputLayout()
259 else if (shaderAttribute.name == "gl_VertexID") in generateVertexShaderForInputLayout()
[all …]