[Mesa-dev] [PATCH 02/11] glsl: Incorporate all UBO language changes into GLSL 1.40.
Ian Romanick
idr at freedesktop.org
Fri Jul 20 16:13:04 PDT 2012
On 07/20/2012 03:33 PM, Eric Anholt wrote:
> ---
> src/glsl/glsl_parser.yy | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
> index b2533c8..0ed424d 100644
> --- a/src/glsl/glsl_parser.yy
> +++ b/src/glsl/glsl_parser.yy
> @@ -291,6 +291,10 @@ version_statement:
> state->version_string,
> state->supported_version_string);
> }
> +
> + if (state->language_version >= 140) {
> + state->ARB_uniform_buffer_object_enable = true;
> + }
Do we need something to prevent
#extension GL_ARB_uniform_buffer_object: disable
from making dumb things happen?
> }
> ;
>
>
More information about the mesa-dev
mailing list