zumwalt Posted March 18, 2013 Share Posted March 18, 2013 From a fresh clean install on my MacBook Pro, opening LeadWerks with the example project, I received tons of warnings, just thought you would want to know. Initializing OpenGL2 graphics driver... Initializing OpenGL... OpenGL version 210 GLSL version 120 Initializing OpenGL2 graphics driver... Loading font "/Applications/Leadwerks/Editor/Fonts/arial.ttf" (10, 0, 0)... Loading font "/Applications/Leadwerks/Editor/Fonts/arial.ttf" (10, 0, 0)... Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/Drawing/DrawDottedLine.shader"... WARNING: Could not find vertex shader attribute 'vertex_binormal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute6' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute2' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_tangent' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute5' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute7' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute4' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_color' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_normal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute3' to match BindAttributeLocation request. WARNING: Output of vertex shader 'ex_texcoords0' not read by fragment shader ERROR: Input of fragment shader 'ex_color' not written by vertex shader Failed to link shader. Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/Wireframe.shader"... WARNING: Could not find vertex shader attribute 'vertex_binormal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute6' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute2' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_tangent' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute5' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute7' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute4' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_color' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_normal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute3' to match BindAttributeLocation request. Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/solid.shader"... WARNING: Could not find vertex shader attribute 'vertex_binormal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute6' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute2' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_tangent' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute5' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute7' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute4' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_color' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute3' to match BindAttributeLocation request. Deleting shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/solid.shader" Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/shaders/model/skybox"... Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/Dynamic/default.shader"... WARNING: Could not find vertex shader attribute 'vertex_binormal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute6' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute2' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_tangent' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute5' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute7' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute4' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute3' to match BindAttributeLocation request. Loading shader "/Applications/Leadwerks/Projects/DarknessAwaits/Shaders/OcclusionQuery.shader"... WARNING: Could not find vertex shader attribute 'vertex_binormal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute6' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute2' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_tangent' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute5' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute7' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords1' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute4' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_color' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_texcoords0' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'vertex_normal' to match BindAttributeLocation request. WARNING: Could not find vertex shader attribute 'attribute3' to match BindAttributeLocation request. Link to comment Share on other sites More sharing options...
Josh Posted April 2, 2013 Share Posted April 2, 2013 There is no way, AFAIK, to tell what vertex attributes exist in a shader. Since Leadwerks just sets them all, and assumes they are either present or not needed, the shader outputs these annoying warnings. I could not find any way to check if a vertex attribute exists in a shader so I don't know how to turn this off. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts