Searched refs:shaderAttribute (Results 1 – 1 of 1) sorted by relevance
181 const sh::ShaderVariable &shaderAttribute = shaderAttributes[attributeIndex]; in generateVertexShaderForInputLayout() local182 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 …]