https://bugs.freedesktop.org/show_bug.cgi?id=106052

--- Comment #9 from b...@besd.de <b...@besd.de> ---
Another shader that has problems (but for both TGSI/NIR)

ERROR: shaders/piglit/a5b6cf610f51fc289f4c30864e2914ddd78bcf68_3.shader_test
failed to compile:
0:4(2): error: value of type float cannot be assigned to variable of type vec4

[require]
GLSL >= 0.00

[vertex shader]
attribute float pos;
void main()
{
        gl_Position = pos;
}


[fragment shader]
void main()
{
        gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}

From
/**
 * \file glsl-max-vertex-attrib.c
 * Test setting vertex attrib value of GL_MAX_VERTEX_ATTRIBS attrib
 *
 * Queries the value for GL_MAX_VERTEX_ATTRIBS and uses that as index
 * to set a value. GL specification states that GL_INVALID_VALUE should
 * occur if index >= GL_MAX_VERTEX_ATTRIBS.
 *
 * \author Sun Yi <yi....@intel.com>
 * \author Tapani Pälli <tapani.pa...@intel.com>
 */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to