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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 17 08:44:24 UTC 2018


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

--- Comment #12 from Timothy Arceri <t_arceri at yahoo.com.au> ---
(In reply to ben at besd.de from comment #8)
> seems NIR has specific crashes too
> 
> 
>  => CRASHED <= while processing these shaders:
> 
>     shaders/piglit/da1588b9fd1ec5009a02ff9ee244f11923d32855_3.shader_test
> 
> [require]
> GLSL >= 1.10
> 
> [vertex shader]
> #version 110
> #if __VERSION__ >= 130
> in vec4 piglit_vertex;
> #else
> attribute vec4 piglit_vertex;
> #endif
> void main() { gl_Position = piglit_vertex; }
> 
> 
> [fragment shader]
> #version 110
> uniform float id;
> void main()
> {
> 	ivec4 test = ivec4(0, 1, 0, 0);
> 	vec4 test2 = vec4(0.0, 1.0, 0.0, 0.0);
> 	int index = int(id);
> 	float col = test2[test[index]];
> 	gl_FragColor = vec4(col);
> }

This is tests/shaders/glsl-fs-vec4-indexing-8.shader_test and that piglit test
fails in the glsl_to_nir pass for me. No need to track that issue here.

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


More information about the mesa-dev mailing list