ARB_texture_query_levels/*nomips: fix the tests

Yes, the result of the function must be non-zero but is otherwise undefined.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: initializer and constructor tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

constructor-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-invalid.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-invalid2.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

initialization-invalid.vert
AMD: crash
Nvidia: pass
Intel: pass

initialization-invalid2.vert
AMD: pass
Nvidia: pass
Intel: pass

initialization-invalid3.vert
AMD: pass
Nvidia: pass
Intel: pass

initialization-invalid4.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-array-array-var2.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-array-var-array2.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-var-array-array2.vert
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: add more initializer tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

initializer-dec-list-type-array-array-var1-var2.vert
AMD: pass
Intel: pass

initializer-dec-list-type-array-var1-array-var2-array.vert
AMD: pass
Intel: pass

initializer-dec-list-type-var1-array-array-var2-array-array.vert
AMD: pass
Intel: pass

initializer-struct-field-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-struct-field-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-struct-field-array-var-array2.vert
AMD: pass
Intel: pass

initializer-struct-field-dec-list-array-array-var1-var2.vert
AMD: pass
Intel: pass

initializer-struct-field-dec-list-array-var1-array-var2.vert
AMD: pass
Intel: pass

initializer-struct-field-dec-list-array-var1-var2-array.vert
AMD: pass
Intel: pass

initializer-struct-field-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-three-dimensions.vert
AMD: pass
Nvidia: pass
Intel: pass

initializer-three-dimensions2.vert
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: add more constructor tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

constructor-arrays-of-arrays-same-size.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-invalid-assignment.vert
AMD: crash
Nvidia: pass
Intel: pass

constructor-invalid-dimensions-mismatch.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-invalid-element-to-big.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-invalid-type.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-three-dimensions.vert
AMD: pass
Nvidia: pass
Intel: pass

constructor-unsized.vert
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: function parameter and comparision tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

equal-implicit-size.vert
AMD: pass
Nvidia: pass
Intel: pass

equal-mismatched-size.vert
AMD: pass
Nvidia: pass
Intel: pass

equal.vert
AMD: pass
Nvidia: pass
Intel: crash (arrays of arrays not supported for uniforms yet)

function-parameter-declaration-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-declaration-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-declaration-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-definition-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-definition-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-definition-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

function-parameter-unsized.vert
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: input and output tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

input-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: crash

input-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: crash

input-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: crash

output-array-array-var.frag
AMD: pass
Nvidia: pass
Intel: pass

output-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

output-array-var-array.frag
AMD: pass
Nvidia: pass
Intel: pass

output-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

output-var-array-array.frag
AMD: pass
Nvidia: pass
Intel: pass

output-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: interface and struct tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

arrays-of-struct-with-field-arrays.vert
AMD: pass
Nvidia: pass
Intel: pass

interface-field-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

interface-field-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

interface-field-maxbounds-access-array-array-var.geom
AMD: pass
Nvidia: pass
Intel: pass

interface-field-maxbounds-access-array-var-array.geom
AMD: pass
Nvidia: pass
Intel: pass

interface-field-maxbounds-access-var-array-array.geom
AMD: pass
Nvidia: pass
Intel: pass

interface-field-outofbounds-access-array-array-var.geom
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

interface-field-outofbounds-access-array-var-array.geom
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

interface-field-outofbounds-access-var-array-array.geom
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

interface-field-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

interface-maxbounds.vert
AMD: pass
Nvidia: pass
Intel: crash

interface-outofbounds.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

interface.vert
AMD: pass
Nvidia: pass
Intel: pass

structure-field-array-array-var.frag
AMD: pass
Nvidia: pass
Intel: pass

structure-field-array-var-array.frag
AMD: pass
Nvidia: pass
Intel: pass

structure-field-var-array-array.frag
AMD: pass
Nvidia: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: length and bounds tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

length-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

length-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

length-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

maxbounds-access-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: pass

maxbounds-access-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

maxbounds-access-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: pass

outofbounds-access-array-array-var.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

outofbounds-access-array-var-array.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

outofbounds-access-var-array-array.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: redeclaration and subroutine tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

redeclaration-initializer.vert
AMD: fail
Nvidia: pass
Intel: pass

redeclaration-too-small.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

redeclaration-too-small2.vert
AMD: pass
Nvidia: fail (Nvidia only warns for outofbounds)
Intel: pass

redeclaration.vert
AMD: fail
Nvidia: pass
Intel: pass

redeclaration2.vert
AMD: pass
Nvidia: pass
Intel: pass

subroutine.vert
AMD: pass
Nvidia: skip
Intel: skip

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: assignment tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

assignment-invalid-implicit-sized.vert
AMD: fail
Nvidia: fail
Intel: pass

assignment-1d-to-3d.vert
AMD: pass
Nvidia: pass
Intel: pass

assignment-2d-to-3d-from-3d.vert
AMD: pass
Nvidia: pass
Intel: pass

assignment-2d-to-3d.vert
AMD: pass
Nvidia: pass
Intel: pass

assignment-array-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: pass

assignment-invalid-1d-to-3d.vert
AMD: pass
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: builtin test

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

gl_TexCoord-invalid-multidim.vert
AMD: pass
Nvidia: fail
Intel: pass

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
arb_arrays_of_arrays: uniform tests

Test results are from the following hardware/driver combinations:

AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3
Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3
Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled

uniform-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: crash

uniform-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: crash

uniform-unsized-array-array-var.vert
AMD: pass
Nvidia: pass
Intel: crash

uniform-unsized-array-var-array.vert
AMD: pass
Nvidia: pass
Intel: crash

uniform-unsized-invalid-array-array-var.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-invalid-array-array-var2.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-invalid-array-var-array.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-invalid-array-var-array2.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-invalid-var-array-array.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-invalid-var-array-array2.vert
AMD: pass
Nvidia: fail
Intel: pass

uniform-unsized-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: crash

uniform-var-array-array.vert
AMD: pass
Nvidia: pass
Intel: crash

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>