Bug 80781

Summary: [i965 Bisected]Piglit spec/glsl-1.50/compiler/incorrect-in-layout-qualifier-repeated-prim.geom fails
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: VERIFIED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: major    
Priority: high CC: siglesias
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2014-07-02 03:20:31 UTC
System Environment:
--------------------------
Platform: Haswell
Libdrm:		(master)libdrm-2.4.54-17-ge8c3c1358ecaf4e90f7d43762357ae6f8e2022b6
Mesa:		(master)1bfc0a11027449ae7ab7c28eb695f26de530eccf
Xserver:(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.912-200-ge6e5330857097eb2caafa89d571d12e4bb15f539
Libva:		(master)c61d8c6ce9ffc27320e9e177c1e1123d5f1b5014
Libva_intel_driver:(master)c5cb17ea86f0065a939d3636dd26651c93d497c8
Kernel:	(drm-intel-nightly)a7665faa31dbbbae25e376508a9b3781e25d09e2

Bug detailed description:
-----------------------------
It fails on i965 platforms with mesa master branch, works well on 10.2 branch.

Bisect shows: a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99 is the first bad commit.
commit a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99
Author:     Samuel Iglesias Gonsalvez <siglesias@igalia.com>
AuthorDate: Tue Jun 10 08:45:43 2014 +0200
Commit:     Iago Toral Quiroga <itoral@igalia.com>
CommitDate: Mon Jun 30 08:08:49 2014 +0200

    glsl: Add parsing support for multi-stream output in geometry shaders.

    This implements parsing requirements for multi-stream support in
    geometry shaders as defined in ARB_gpu_shader5.

    Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

output:
Successfully compiled geometry shader /GFX/Test/Piglit/piglit/tests/spec/glsl-1.50/compiler/incorrect-in-layout-qualifier-repeated-prim.geom:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.50
// check_link: false
// [end config]
//
// Tests for invalid input layout qualifiers.
//
// GLSLangSpec 1.50, section 4.3.8.1 (Input Layout Qualifiers):
// "Only one argument is accepted. For example,
//  layout(triangles) in;"
//

#version 150

layout(points, points) in;

void main()
{
}

PIGLIT: {'result': 'fail' }


Reproduce steps:
----------------------------
1. xinit
2. bin/glslparsertest /GFX/Test/Piglit/piglit/tests/spec/glsl-1.50/compiler/incorrect-in-layout-qualifier-repeated-prim.geom fail 1.50
Comment 1 Ian Romanick 2014-07-02 06:39:09 UTC

*** This bug has been marked as a duplicate of bug 80778 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.