OSDN Git Service

Allow single-component constructors
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 22:36:02 +0000 (15:36 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 23:07:34 +0000 (16:07 -0700)
commit8a24cd5ceaf74a9be5954b5f7426b1612ce8ecd3
tree76571a74598c4b16a3ad5e9554fc3f371375dd8a
parent32a494586fa8cb01a4ff4c5fa270d29e15c09aa8
Allow single-component constructors

This causes the following tests to pass:

    glslparsertest/shaders/CorrectVersion.V110.frag
    shaders/glsl-vs-sqrt-zero.frag
    shaders/glsl-vs-sqrt-zero.vert

This causes the following tests to fail.  These shaders were
previously failing to compile, but they were all failing for the wrong
reasons.

    glslparsertest/shaders/attribute1.vert
    glslparsertest/shaders/attribute2.vert
    glslparsertest/shaders/main2.vert
ast_function.cpp