[Mesa-dev] [Bug 106052] shader-db crashes when running piglit shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 15 21:27:29 UTC 2018


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

--- Comment #9 from ben at besd.de <ben at 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.sun at intel.com>
 * \author Tapani Pälli <tapani.palli at intel.com>
 */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180415/f0693304/attachment.html>


More information about the mesa-dev mailing list