On 17 February 2013 10:31, Jordan Justen <[email protected]> wrote:

> Signed-off-by: Jordan Justen <[email protected]>
> ---
>
> nVidia binary drivers seem to fail the 'no instance'
> version. (They don't flag a compiler error.) Did I
> misinterpret the spec?
>

I noticed that too.  Your interpretation of the spec agrees with mine.


>
>  .../interface-blocks-in-block-no-instance.vert         |   16
> ++++++++++++++++
>  .../glsl-1.50/compiler/interface-blocks-in-block.vert  |   16
> ++++++++++++++++
>  2 files changed, 32 insertions(+)
>  create mode 100644
> tests/spec/glsl-1.50/compiler/interface-blocks-in-block-no-instance.vert
>  create mode 100644
> tests/spec/glsl-1.50/compiler/interface-blocks-in-block.vert
>
> diff --git
> a/tests/spec/glsl-1.50/compiler/interface-blocks-in-block-no-instance.vert
> b/tests/spec/glsl-1.50/compiler/interface-blocks-in-block-no-instance.vert
> new file mode 100644
> index 0000000..9d44fd3
> --- /dev/null
> +++
> b/tests/spec/glsl-1.50/compiler/interface-blocks-in-block-no-instance.vert
> @@ -0,0 +1,16 @@
> +// [config]
> +// expect_result: fail
> +// glsl_version: 1.50
> +// check_link: true
> +// [end config]
> +
> +#version 150
> +
> +in block {
> +    vec4 iface_var;
> +};
> +
> +void main()
> +{
> +}
> +
> diff --git a/tests/spec/glsl-1.50/compiler/interface-blocks-in-block.vert
> b/tests/spec/glsl-1.50/compiler/interface-blocks-in-block.vert
> new file mode 100644
> index 0000000..d1cc256
> --- /dev/null
> +++ b/tests/spec/glsl-1.50/compiler/interface-blocks-in-block.vert
> @@ -0,0 +1,16 @@
> +// [config]
> +// expect_result: fail
> +// glsl_version: 1.50
> +// check_link: true
> +// [end config]
> +
> +#version 150
> +
> +in block {
> +    vec4 iface_var;
> +} inst;
> +
> +void main()
> +{
> +}
> +
> --
> 1.7.10.4
>
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to