[Mesa-dev] [Bug 95323] GL33-CTS.CommonBugs.CommonBug_ReservedNames fails

bugzilla-daemon at bugs.freedesktop.org bugzilla-daemon at bugs.freedesktop.org
Wed May 11 01:13:43 UTC 2016


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

--- Comment #1 from Ian Romanick <idr at freedesktop.org> ---
At least per the GLSL 1.50 specification, this test enforces NON-conformance! 
The grammar makes it quite clear that

    in struct { ... } foo;

declares a shader input "foo" that is an anonymous structure.  Here are the
relevant bits of the grammar (with some omissions for clarity):

    single_declaration:
        ...
        fully_specified_type IDENTIFIER
        ...

    fully_specified_type:
        type_specifier
        type_qualifier type_specifier

    type_qualifier:
        storage_qualifier
        ...

    storage_qualifier:
        ...
        IN
        ...

    type_specifier:
        type_specifier_no_prec
        precision_qualifier type_specifier_no_prec

    type_specifier_no_prec:
        type_specifier_nonarray
        ...

    type_specifier_nonarray:
        VOID
        FLOAT
        INT
        ...
        struct_specifier
        TYPE_NAME

    struct_specifier:
        ...
        STRUCT LEFT_BRACE struct_declaration_list RIGHT_BRACE

Neither section 4.3.4 (Inputs) nor section 4.3.7 (Interface Blocks) add any
limitations that I can see.  I'll dig through later specs to see if this
changed.

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


More information about the mesa-dev mailing list