Bug 105832 - radeonsi NIR missing bindless textures support
Summary: radeonsi NIR missing bindless textures support
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-31 10:08 UTC by ben@besd.de
Modified: 2019-03-31 23:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Disable bindless textures with radeonsi NIR until there is support for them. (1.30 KB, patch)
2018-04-01 11:25 UTC, ben@besd.de
Details | Splinter Review
v2 Disable bindless textures with radeonsi NIR until there is support for them. (1.39 KB, patch)
2018-04-01 15:46 UTC, ben@besd.de
Details | Splinter Review

Description ben@besd.de 2018-03-31 10:08:18 UTC
Hi Timothy,

With a debug build of mesa (-O0 and --enable-debug instead of release with -O3) only a small part of the available shaders is compiled (~12%) when using shader-db.

https://github.com/bendat78/mymesa/tree/mymesa2/testresults/run_2018-03-31_11:12:58_debug

Also see the nir test file in 
https://github.com/bendat78/mymesa/tree/mymesa2/testresults
where I try to keep track of the things I have done and the results gathered

Cheers,
Benedikt
Comment 1 Timothy Arceri 2018-03-31 10:13:07 UTC
What exactly are you seeing? Crashes? Can you give an example?
Comment 2 ben@besd.de 2018-03-31 10:21:18 UTC
no crashes, nothing visible, except that the run files are are ~1.7MB instead of ~14.1MB and shaders are missing that were run before.

Looking at the files again it seems that it indeed crashes because the files end prematurely. And they all seem to end on the same shader as well so its probably the one after that ;)

Per instructions I route the stderr of shader-db's run to dev/null 
Would that be helpful?
Comment 3 ben@besd.de 2018-03-31 11:12:05 UTC
from stderr:

ATTENTION: default value of option allow_glsl_extension_directive_midshader overridden by environment.
Mesa: User error: GL_INVALID_OPERATION in glProgramStringARB(syntax error, unexpected $undefined, expecting $end)

ERROR: shaders/csgo/fp-1.shader_test failed to compile
run: ../../../../src/util/bitscan.h:263: u_bit_consecutive: Assertion `start + count <= 32' failed.

 => CRASHED <= while processing these shaders:

    shaders/w40kdawn3/980.shader_test
    shaders/w40kdawn3/1102.shader_test
    shaders/w40kdawn3/1068.shader_test
    shaders/w40kdawn3/1088.shader_test
    shaders/w40kdawn3/958.shader_test
    shaders/w40kdawn3/1968.shader_test
    shaders/w40kdawn3/1504.shader_test
    shaders/w40kdawn3/950.shader_test
Comment 4 ben@besd.de 2018-03-31 11:15:44 UTC
However TGSI from the same run (debug, llvm 4) has significantly more errors:

ATTENTION: default value of option allow_glsl_extension_directive_midshader overridden by environment.
Mesa: User error: GL_INVALID_OPERATION in glProgramStringARB(syntax error, unexpected $undefined, expecting $end)

ERROR: shaders/csgo/fp-1.shader_test failed to compile
ERROR: shaders/w40kdawn2/1054.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1054.shader_test failed to compile:
0:108(11): error: `gl_TexCoord' undeclared
0:108(11): error: type mismatch
0:108(11): error: operands to arithmetic operators must be numeric
0:108(11): error: operands to arithmetic operators must be numeric
0:113(18): error: `gl_TexCoord' undeclared
0:113(18): error: type mismatch
0:113(10): error: operands to arithmetic operators must be numeric
0:116(19): error: `gl_TexCoord' undeclared
0:116(19): error: type mismatch
0:116(18): error: operands to arithmetic operators must be numeric
0:116(10): error: operands to arithmetic operators must be numeric
0:117(16): error: `gl_TexCoord' undeclared
0:117(16): error: type mismatch
0:117(9): error: operands to arithmetic operators must be numeric
0:125(16): error: `gl_TexCoord' undeclared
0:125(16): error: type mismatch
0:125(9): error: operands to arithmetic operators must be numeric
0:129(16): error: `gl_TexCoord' undeclared
0:129(16): error: type mismatch
0:129(9): error: operands to arithmetic operators must be numeric
0:133(16): error: `gl_TexCoord' undeclared
0:133(16): error: type mismatch
0:133(9): error: operands to arithmetic operators must be numeric
0:139(16): error: `gl_TexCoord' undeclared
0:139(16): error: type mismatch
0:139(9): error: operands to arithmetic operators must be numeric
0:151(16): error: `gl_TexCoord' undeclared
0:151(16): error: type mismatch
0:151(9): error: operands to arithmetic operators must be numeric
0:163(16): error: `gl_TexCoord' undeclared
0:163(16): error: type mismatch
0:163(9): error: operands to arithmetic operators must be numeric
0:175(16): error: `gl_TexCoord' undeclared
0:175(16): error: type mismatch
0:175(9): error: operands to arithmetic operators must be numeric
0:188(37): error: `gl_TexCoord' undeclared
0:188(32): error: cannot construct `vec3' from a non-numeric data type
0:188(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:188(17): error:    vec4 texture(sampler1D, float)
0:188(17): error:    ivec4 texture(isampler1D, float)
0:188(17): error:    uvec4 texture(usampler1D, float)
0:188(17): error:    vec4 texture(sampler2D, vec2)
0:188(17): error:    ivec4 texture(isampler2D, vec2)
0:188(17): error:    uvec4 texture(usampler2D, vec2)
0:188(17): error:    vec4 texture(sampler3D, vec3)
0:188(17): error:    ivec4 texture(isampler3D, vec3)
0:188(17): error:    uvec4 texture(usampler3D, vec3)
0:188(17): error:    vec4 texture(samplerCube, vec3)
0:188(17): error:    ivec4 texture(isamplerCube, vec3)
0:188(17): error:    uvec4 texture(usamplerCube, vec3)
0:188(17): error:    float texture(sampler1DShadow, vec3)
0:188(17): error:    float texture(sampler2DShadow, vec3)
0:188(17): error:    float texture(samplerCubeShadow, vec4)
0:188(17): error:    vec4 texture(sampler1DArray, vec2)
0:188(17): error:    ivec4 texture(isampler1DArray, vec2)
0:188(17): error:    uvec4 texture(usampler1DArray, vec2)
0:188(17): error:    vec4 texture(sampler2DArray, vec3)
0:188(17): error:    ivec4 texture(isampler2DArray, vec3)
0:188(17): error:    uvec4 texture(usampler2DArray, vec3)
0:188(17): error:    float texture(sampler1DArrayShadow, vec3)
0:188(17): error:    float texture(sampler2DArrayShadow, vec4)
0:188(17): error:    vec4 texture(sampler2DRect, vec2)
0:188(17): error:    ivec4 texture(isampler2DRect, vec2)
0:188(17): error:    uvec4 texture(usampler2DRect, vec2)
0:188(17): error:    float texture(sampler2DRectShadow, vec3)
0:188(17): error:    vec4 texture(sampler1D, float, float)
0:188(17): error:    ivec4 texture(isampler1D, float, float)
0:188(17): error:    uvec4 texture(usampler1D, float, float)
0:188(17): error:    vec4 texture(sampler2D, vec2, float)
0:188(17): error:    ivec4 texture(isampler2D, vec2, float)
0:188(17): error:    uvec4 texture(usampler2D, vec2, float)
0:188(17): error:    vec4 texture(sampler3D, vec3, float)
0:188(17): error:    ivec4 texture(isampler3D, vec3, float)
0:188(17): error:    uvec4 texture(usampler3D, vec3, float)
0:188(17): error:    vec4 texture(samplerCube, vec3, float)
0:188(17): error:    ivec4 texture(isamplerCube, vec3, float)
0:188(17): error: 
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1065.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1065.shader_test failed to compile:
0:103(11): error: `gl_TexCoord' undeclared
0:103(11): error: type mismatch
0:103(11): error: operands to arithmetic operators must be numeric
0:103(11): error: operands to arithmetic operators must be numeric
0:108(18): error: `gl_TexCoord' undeclared
0:108(18): error: type mismatch
0:108(10): error: operands to arithmetic operators must be numeric
0:111(19): error: `gl_TexCoord' undeclared
0:111(19): error: type mismatch
0:111(18): error: operands to arithmetic operators must be numeric
0:111(10): error: operands to arithmetic operators must be numeric
0:112(16): error: `gl_TexCoord' undeclared
0:112(16): error: type mismatch
0:112(9): error: operands to arithmetic operators must be numeric
0:120(16): error: `gl_TexCoord' undeclared
0:120(16): error: type mismatch
0:120(9): error: operands to arithmetic operators must be numeric
0:124(16): error: `gl_TexCoord' undeclared
0:124(16): error: type mismatch
0:124(9): error: operands to arithmetic operators must be numeric
0:128(16): error: `gl_TexCoord' undeclared
0:128(16): error: type mismatch
0:128(9): error: operands to arithmetic operators must be numeric
0:135(37): error: `gl_TexCoord' undeclared
0:135(32): error: cannot construct `vec3' from a non-numeric data type
0:135(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:135(17): error:    vec4 texture(sampler1D, float)
0:135(17): error:    ivec4 texture(isampler1D, float)
0:135(17): error:    uvec4 texture(usampler1D, float)
0:135(17): error:    vec4 texture(sampler2D, vec2)
0:135(17): error:    ivec4 texture(isampler2D, vec2)
0:135(17): error:    uvec4 texture(usampler2D, vec2)
0:135(17): error:    vec4 texture(sampler3D, vec3)
0:135(17): error:    ivec4 texture(isampler3D, vec3)
0:135(17): error:    uvec4 texture(usampler3D, vec3)
0:135(17): error:    vec4 texture(samplerCube, vec3)
0:135(17): error:    ivec4 texture(isamplerCube, vec3)
0:135(17): error:    uvec4 texture(usamplerCube, vec3)
0:135(17): error:    float texture(sampler1DShadow, vec3)
0:135(17): error:    float texture(sampler2DShadow, vec3)
0:135(17): error:    float texture(samplerCubeShadow, vec4)
0:135(17): error:    vec4 texture(sampler1DArray, vec2)
0:135(17): error:    ivec4 texture(isampler1DArray, vec2)
0:135(17): error:    uvec4 texture(usampler1DArray, vec2)
0:135(17): error:    vec4 texture(sampler2DArray, vec3)
0:135(17): error:    ivec4 texture(isampler2DArray, vec3)
0:135(17): error:    uvec4 texture(usampler2DArray, vec3)
0:135(17): error:    float texture(sampler1DArrayShadow, vec3)
0:135(17): error:    float texture(sampler2DArrayShadow, vec4)
0:135(17): error:    vec4 texture(sampler2DRect, vec2)
0:135(17): error:    ivec4 texture(isampler2DRect, vec2)
0:135(17): error:    uvec4 texture(usampler2DRect, vec2)
0:135(17): error:    float texture(sampler2DRectShadow, vec3)
0:135(17): error:    vec4 texture(sampler1D, float, float)
0:135(17): error:    ivec4 texture(isampler1D, float, float)
0:135(17): error:    uvec4 texture(usampler1D, float, float)
0:135(17): error:    vec4 texture(sampler2D, vec2, float)
0:135(17): error:    ivec4 texture(isampler2D, vec2, float)
0:135(17): error:    uvec4 texture(usampler2D, vec2, float)
0:135(17): error:    vec4 texture(sampler3D, vec3, float)
0:135(17): error:    ivec4 texture(isampler3D, vec3, float)
0:135(17): error:    uvec4 texture(usampler3D, vec3, float)
0:135(17): error:    vec4 texture(samplerCube, vec3, float)
0:135(17): error:    ivec4 texture(isamplerCube, vec3, float)
0:135(17): error:    uvec4 texture(usamplerCube, vec3, float)
0:135(17): error:    float texture(sampler1DShadow, vec3, float)
0:135(17): error:    float texture(sampler2DShadow, vec3, float)
0:135(17): error:    float texture(samplerCubeShadow, vec4, float)
0:135(17): error:    vec4 texture(sampler1DArray, vec2, float)
0:135(17): error:    ivec4 texture(isampler1DArray, vec2, float)
0:135(17): error:    uvec4 texture(usampler1DArray, vec2, float)
0:135(17): error:    vec4 texture(sampler2DArray, vec3, float)
0:135(17): error:    ivec4 texture(isampler2DArray, vec3, float)
0:
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1053.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1056.shader_test failed to compile:
0:129(2): error: `gl_TexCoord' undeclared
0:129(2): error: type mismatch
0:129(2): error: value of type float cannot be assigned to variable of type error
0:130(2): error: `gl_TexCoord' undeclared
0:130(2): error: type mismatch
0:130(2): error: value of type float cannot be assigned to variable of type error
0:131(2): error: `gl_TexCoord' undeclared
0:131(2): error: type mismatch
0:131(2): error: value of type float cannot be assigned to variable of type error
0:141(2): error: `gl_TexCoord' undeclared
0:141(2): error: type mismatch
0:141(2): error: value of type float cannot be assigned to variable of type error
0:146(2): error: `gl_TexCoord' undeclared
0:146(2): error: type mismatch
0:146(2): error: value of type float cannot be assigned to variable of type error
0:240(2): error: `gl_TexCoord' undeclared
0:240(2): error: type mismatch
0:240(2): error: value of type vec3 cannot be assigned to variable of type error
0:251(2): error: `gl_TexCoord' undeclared
0:251(2): error: type mismatch
0:251(2): error: value of type vec3 cannot be assigned to variable of type error
0:255(2): error: `gl_TexCoord' undeclared
0:255(2): error: type mismatch
0:255(2): error: value of type vec3 cannot be assigned to variable of type error
0:256(2): error: `gl_TexCoord' undeclared
0:256(2): error: type mismatch
0:256(2): error: value of type vec3 cannot be assigned to variable of type error
0:260(2): error: `gl_TexCoord' undeclared
0:260(2): error: type mismatch
0:260(2): error: value of type vec2 cannot be assigned to variable of type error
0:270(2): error: `gl_TexCoord' undeclared
0:270(2): error: type mismatch
0:270(2): error: value of type float cannot be assigned to variable of type error
0:286(2): error: `gl_TexCoord' undeclared
0:286(2): error: value of type vec4 cannot be assigned to variable of type error
0:287(2): error: `gl_TexCoord' undeclared
0:287(2): error: type mismatch
0:287(2): error: value of type float cannot be assigned to variable of type error
0:288(2): error: `gl_TexCoord' undeclared
0:288(2): error: type mismatch
0:288(2): error: value of type float cannot be assigned to variable of type error
0:289(2): error: `gl_TexCoord' undeclared
0:289(2): error: type mismatch
0:289(2): error: value of type vec2 cannot be assigned to variable of type error
0:290(2): error: `gl_TexCoord' undeclared
0:290(2): error: type mismatch
0:290(2): error: value of type float cannot be assigned to variable of type error
0:291(2): error: `gl_TexCoord' undeclared
0:291(2): error: type mismatch
0:291(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1053.shader_test failed to compile:
0:110(11): error: `gl_TexCoord' undeclared
0:110(11): error: type mismatch
0:110(11): error: operands to arithmetic operators must be numeric
0:110(11): error: operands to arithmetic operators must be numeric
0:115(18): error: `gl_TexCoord' undeclared
0:115(18): error: type mismatch
0:115(10): error: operands to arithmetic operators must be numeric
0:118(19): error: `gl_TexCoord' undeclared
0:118(19): error: type mismatch
0:118(18): error: operands to arithmetic operators must be numeric
0:118(10): error: operands to arithmetic operators must be numeric
0:119(16): error: `gl_TexCoord' undeclared
0:119(16): error: type mismatch
0:119(9): error: operands to arithmetic operators must be numeric
0:127(16): error: `gl_TexCoord' undeclared
0:127(16): error: type mismatch
0:127(9): error: operands to arithmetic operators must be numeric
0:131(16): error: `gl_TexCoord' undeclared
0:131(16): error: type mismatch
0:131(9): error: operands to arithmetic operators must be numeric
0:135(16): error: `gl_TexCoord' undeclared
0:135(16): error: type mismatch
0:135(9): error: operands to arithmetic operators must be numeric
0:141(16): error: `gl_TexCoord' undeclared
0:141(16): error: type mismatch
0:141(9): error: operands to arithmetic operators must be numeric
0:153(16): error: `gl_TexCoord' undeclared
0:153(16): error: type mismatch
0:153(9): error: operands to arithmetic operators must be numeric
0:165(16): error: `gl_TexCoord' undeclared
0:165(16): error: type mismatch
0:165(9): error: operands to arithmetic operators must be numeric
0:177(16): error: `gl_TexCoord' undeclared
0:177(16): error: type mismatch
0:177(9): error: operands to arithmetic operators must be numeric
0:189(16): error: `gl_TexCoord' undeclared
0:189(16): error: type mismatch
0:189(9): error: operands to arithmetic operators must be numeric
0:201(16): error: `gl_TexCoord' undeclared
0:201(16): error: type mismatch
0:201(9): error: operands to arithmetic operators must be numeric
0:214(38): error: `gl_TexCoord' undeclared
0:214(33): error: cannot construct `vec3' from a non-numeric data type
0:214(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:214(17): error:    vec4 texture(sampler1D, float)
0:214(17): error:    ivec4 texture(isampler1D, float)
0:214(17): error:    uvec4 texture(usampler1D, float)
0:214(17): error:    vec4 texture(sampler2D, vec2)
0:214(17): error:    ivec4 texture(isampler2D, vec2)
0:214(17): error:    uvec4 texture(usampler2D, vec2)
0:214(17): error:    vec4 texture(sampler3D, vec3)
0:214(17): error:    ivec4 texture(isampler3D, vec3)
0:214(17): error:    uvec4 texture(usampler3D, vec3)
0:214(17): error:    vec4 texture(samplerCube, vec3)
0:214(17): error:    ivec4 texture(isamplerCube, vec3)
0:214(17): error:    uvec4 texture(usamplerCube, vec3)
0:214(17): error:    float texture(sampler1DShadow, vec3)
0:214(17): error:    float texture(sampler2DShadow, vec3)
0:214(17): error:    float texture(samplerCubeShadow, vec4)
0:214(17): error:    vec4 texture(sampler1DArray, vec2)
0:214(17): error:    ivec4 texture(isampler1DArray, vec2)
0:214(17): error:    uvec4 texture(usampler1DArray, vec2)
0:214(17): error:    vec4 texture(sampler2DArray, vec3)
0:214(17): error:    ivec4 texture(isampler2DArray, vec3)
0:214(17): error:    uvec4 texture(usampler2DArray, vec3)
0:214(17): error:    float texture(sampler1DArrayShadow, vec3)
0:214(17): error:    float texture(sampler2DArrayShadow, vec4)
0:214(17): error:    vec4 texture(sampler2DRect, vec2)
0:214(17): error:    ivec4 texture(isampler2DRect, vec2)
0:214(17): error:    uvec4 texture(usampler2DRect, vec2)
0:214(17): error:    float texture(sampler2DRectShadow, vec3)
0:214(17): error:    vec4 texture(sampler1D, float, float)
0:214(17): error:    ivec4 texture(isampler1D, float, float)
0:214(17): error:    uvec4 texture(usampler1D, float, float)
0:214(17): error:    vec4 texture(sampler2D, vec2, float)
0:214(17): error:    ivec4 texture(isampler2D, vec2, float)
0:214(17): error:    uvec4 texture(usampler2D, vec2, float)
0:214(17): error:    vec4 texture(sa
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1056.shader_test failed to compile:
0:111(11): error: `gl_TexCoord' undeclared
0:111(11): error: type mismatch
0:111(11): error: operands to arithmetic operators must be numeric
0:111(11): error: operands to arithmetic operators must be numeric
0:116(18): error: `gl_TexCoord' undeclared
0:116(18): error: type mismatch
0:116(10): error: operands to arithmetic operators must be numeric
0:119(19): error: `gl_TexCoord' undeclared
0:119(19): error: type mismatch
0:119(18): error: operands to arithmetic operators must be numeric
0:119(10): error: operands to arithmetic operators must be numeric
0:120(16): error: `gl_TexCoord' undeclared
0:120(16): error: type mismatch
0:120(9): error: operands to arithmetic operators must be numeric
0:128(16): error: `gl_TexCoord' undeclared
0:128(16): error: type mismatch
0:128(9): error: operands to arithmetic operators must be numeric
0:132(16): error: `gl_TexCoord' undeclared
0:132(16): error: type mismatch
0:132(9): error: operands to arithmetic operators must be numeric
0:136(16): error: `gl_TexCoord' undeclared
0:136(16): error: type mismatch
0:136(9): error: operands to arithmetic operators must be numeric
0:142(16): error: `gl_TexCoord' undeclared
0:142(16): error: type mismatch
0:142(9): error: operands to arithmetic operators must be numeric
0:154(16): error: `gl_TexCoord' undeclared
0:154(16): error: type mismatch
0:154(9): error: operands to arithmetic operators must be numeric
0:166(16): error: `gl_TexCoord' undeclared
0:166(16): error: type mismatch
0:166(9): error: operands to arithmetic operators must be numeric
0:178(16): error: `gl_TexCoord' undeclared
0:178(16): error: type mismatch
0:178(9): error: operands to arithmetic operators must be numeric
0:190(16): error: `gl_TexCoord' undeclared
0:190(16): error: type mismatch
0:190(9): error: operands to arithmetic operators must be numeric
0:202(16): error: `gl_TexCoord' undeclared
0:202(16): error: type mismatch
0:202(9): error: operands to arithmetic operators must be numeric
0:214(16): error: `gl_TexCoord' undeclared
0:214(16): error: type mismatch
0:214(9): error: operands to arithmetic operators must be numeric
0:227(38): error: `gl_TexCoord' undeclared
0:227(33): error: cannot construct `vec3' from a non-numeric data type
0:227(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:227(17): error:    vec4 texture(sampler1D, float)
0:227(17): error:    ivec4 texture(isampler1D, float)
0:227(17): error:    uvec4 texture(usampler1D, float)
0:227(17): error:    vec4 texture(sampler2D, vec2)
0:227(17): error:    ivec4 texture(isampler2D, vec2)
0:227(17): error:    uvec4 texture(usampler2D, vec2)
0:227(17): error:    vec4 texture(sampler3D, vec3)
0:227(17): error:    ivec4 texture(isampler3D, vec3)
0:227(17): error:    uvec4 texture(usampler3D, vec3)
0:227(17): error:    vec4 texture(samplerCube, vec3)
0:227(17): error:    ivec4 texture(isamplerCube, vec3)
0:227(17): error:    uvec4 texture(usamplerCube, vec3)
0:227(17): error:    float texture(sampler1DShadow, vec3)
0:227(17): error:    float texture(sampler2DShadow, vec3)
0:227(17): error:    float texture(samplerCubeShadow, vec4)
0:227(17): error:    vec4 texture(sampler1DArray, vec2)
0:227(17): error:    ivec4 texture(isampler1DArray, vec2)
0:227(17): error:    uvec4 texture(usampler1DArray, vec2)
0:227(17): error:    vec4 texture(sampler2DArray, vec3)
0:227(17): error:    ivec4 texture(isampler2DArray, vec3)
0:227(17): error:    uvec4 texture(usampler2DArray, vec3)
0:227(17): error:    float texture(sampler1DArrayShadow, vec3)
0:227(17): error:    float texture(sampler2DArrayShadow, vec4)
0:227(17): error:    vec4 texture(sampler2DRect, vec2)
0:227(17): error:    ivec4 texture(isampler2DRect, vec2)
0:227(17): error:    uvec4 texture(usampler2DRect, vec2)
0:227(17): error:    float texture(sampler2DRectShadow, vec3)
0:227(17): error:    vec4 texture(sampler1D, float, float)
0:227(17): error:    ivec4 texture(isampler1D, float, float)
0:227(17): error:    uvec4 texture(usampler1D, float, float)
0:227(17): error:    vec4 texture(sampler2D, vec2, float)
0:227(17): erro
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1060.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1060.shader_test failed to compile:
0:109(11): error: `gl_TexCoord' undeclared
0:109(11): error: type mismatch
0:109(11): error: operands to arithmetic operators must be numeric
0:109(11): error: operands to arithmetic operators must be numeric
0:114(18): error: `gl_TexCoord' undeclared
0:114(18): error: type mismatch
0:114(10): error: operands to arithmetic operators must be numeric
0:117(19): error: `gl_TexCoord' undeclared
0:117(19): error: type mismatch
0:117(18): error: operands to arithmetic operators must be numeric
0:117(10): error: operands to arithmetic operators must be numeric
0:118(16): error: `gl_TexCoord' undeclared
0:118(16): error: type mismatch
0:118(9): error: operands to arithmetic operators must be numeric
0:126(16): error: `gl_TexCoord' undeclared
0:126(16): error: type mismatch
0:126(9): error: operands to arithmetic operators must be numeric
0:130(16): error: `gl_TexCoord' undeclared
0:130(16): error: type mismatch
0:130(9): error: operands to arithmetic operators must be numeric
0:134(16): error: `gl_TexCoord' undeclared
0:134(16): error: type mismatch
0:134(9): error: operands to arithmetic operators must be numeric
0:140(16): error: `gl_TexCoord' undeclared
0:140(16): error: type mismatch
0:140(9): error: operands to arithmetic operators must be numeric
0:152(16): error: `gl_TexCoord' undeclared
0:152(16): error: type mismatch
0:152(9): error: operands to arithmetic operators must be numeric
0:164(16): error: `gl_TexCoord' undeclared
0:164(16): error: type mismatch
0:164(9): error: operands to arithmetic operators must be numeric
0:176(16): error: `gl_TexCoord' undeclared
0:176(16): error: type mismatch
0:176(9): error: operands to arithmetic operators must be numeric
0:188(16): error: `gl_TexCoord' undeclared
0:188(16): error: type mismatch
0:188(9): error: operands to arithmetic operators must be numeric
0:201(38): error: `gl_TexCoord' undeclared
0:201(33): error: cannot construct `vec3' from a non-numeric data type
0:201(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:201(17): error:    vec4 texture(sampler1D, float)
0:201(17): error:    ivec4 texture(isampler1D, float)
0:201(17): error:    uvec4 texture(usampler1D, float)
0:201(17): error:    vec4 texture(sampler2D, vec2)
0:201(17): error:    ivec4 texture(isampler2D, vec2)
0:201(17): error:    uvec4 texture(usampler2D, vec2)
0:201(17): error:    vec4 texture(sampler3D, vec3)
0:201(17): error:    ivec4 texture(isampler3D, vec3)
0:201(17): error:    uvec4 texture(usampler3D, vec3)
0:201(17): error:    vec4 texture(samplerCube, vec3)
0:201(17): error:    ivec4 texture(isamplerCube, vec3)
0:201(17): error:    uvec4 texture(usamplerCube, vec3)
0:201(17): error:    float texture(sampler1DShadow, vec3)
0:201(17): error:    float texture(sampler2DShadow, vec3)
0:201(17): error:    float texture(samplerCubeShadow, vec4)
0:201(17): error:    vec4 texture(sampler1DArray, vec2)
0:201(17): error:    ivec4 texture(isampler1DArray, vec2)
0:201(17): error:    uvec4 texture(usampler1DArray, vec2)
0:201(17): error:    vec4 texture(sampler2DArray, vec3)
0:201(17): error:    ivec4 texture(isampler2DArray, vec3)
0:201(17): error:    uvec4 texture(usampler2DArray, vec3)
0:201(17): error:    float texture(sampler1DArrayShadow, vec3)
0:201(17): error:    float texture(sampler2DArrayShadow, vec4)
0:201(17): error:    vec4 texture(sampler2DRect, vec2)
0:201(17): error:    ivec4 texture(isampler2DRect, vec2)
0:201(17): error:    uvec4 texture(usampler2DRect, vec2)
0:201(17): error:    float texture(sampler2DRectShadow, vec3)
0:201(17): error:    vec4 texture(sampler1D, float, float)
0:201(17): error:    ivec4 texture(isampler1D, float, float)
0:201(17): error:    uvec4 texture(usampler1D, float, float)
0:201(17): error:    vec4 texture(sampler2D, vec2, float)
0:201(17): error:    ivec4 texture(isampler2D, vec2, float)
0:201(17): error:    uvec4 texture(usampler2D, vec2, float)
0:201(17): error:    vec4 texture(sampler3D, vec3, float)
0:201(17): error:    ivec4 texture(isampler3D, vec3, float)
0:201(17): error:    uvec4 texture(usampler3D, vec3, float)
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1068.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1068.shader_test failed to compile:
0:107(11): error: `gl_TexCoord' undeclared
0:107(11): error: type mismatch
0:107(11): error: operands to arithmetic operators must be numeric
0:107(11): error: operands to arithmetic operators must be numeric
0:112(18): error: `gl_TexCoord' undeclared
0:112(18): error: type mismatch
0:112(10): error: operands to arithmetic operators must be numeric
0:115(19): error: `gl_TexCoord' undeclared
0:115(19): error: type mismatch
0:115(18): error: operands to arithmetic operators must be numeric
0:115(10): error: operands to arithmetic operators must be numeric
0:116(16): error: `gl_TexCoord' undeclared
0:116(16): error: type mismatch
0:116(9): error: operands to arithmetic operators must be numeric
0:124(16): error: `gl_TexCoord' undeclared
0:124(16): error: type mismatch
0:124(9): error: operands to arithmetic operators must be numeric
0:128(16): error: `gl_TexCoord' undeclared
0:128(16): error: type mismatch
0:128(9): error: operands to arithmetic operators must be numeric
0:132(16): error: `gl_TexCoord' undeclared
0:132(16): error: type mismatch
0:132(9): error: operands to arithmetic operators must be numeric
0:138(16): error: `gl_TexCoord' undeclared
0:138(16): error: type mismatch
0:138(9): error: operands to arithmetic operators must be numeric
0:150(16): error: `gl_TexCoord' undeclared
0:150(16): error: type mismatch
0:150(9): error: operands to arithmetic operators must be numeric
0:162(16): error: `gl_TexCoord' undeclared
0:162(16): error: type mismatch
0:162(9): error: operands to arithmetic operators must be numeric
0:175(37): error: `gl_TexCoord' undeclared
0:175(32): error: cannot construct `vec3' from a non-numeric data type
0:175(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:175(17): error:    vec4 texture(sampler1D, float)
0:175(17): error:    ivec4 texture(isampler1D, float)
0:175(17): error:    uvec4 texture(usampler1D, float)
0:175(17): error:    vec4 texture(sampler2D, vec2)
0:175(17): error:    ivec4 texture(isampler2D, vec2)
0:175(17): error:    uvec4 texture(usampler2D, vec2)
0:175(17): error:    vec4 texture(sampler3D, vec3)
0:175(17): error:    ivec4 texture(isampler3D, vec3)
0:175(17): error:    uvec4 texture(usampler3D, vec3)
0:175(17): error:    vec4 texture(samplerCube, vec3)
0:175(17): error:    ivec4 texture(isamplerCube, vec3)
0:175(17): error:    uvec4 texture(usamplerCube, vec3)
0:175(17): error:    float texture(sampler1DShadow, vec3)
0:175(17): error:    float texture(sampler2DShadow, vec3)
0:175(17): error:    float texture(samplerCubeShadow, vec4)
0:175(17): error:    vec4 texture(sampler1DArray, vec2)
0:175(17): error:    ivec4 texture(isampler1DArray, vec2)
0:175(17): error:    uvec4 texture(usampler1DArray, vec2)
0:175(17): error:    vec4 texture(sampler2DArray, vec3)
0:175(17): error:    ivec4 texture(isampler2DArray, vec3)
0:175(17): error:    uvec4 texture(usampler2DArray, vec3)
0:175(17): error:    float texture(sampler1DArrayShadow, vec3)
0:175(17): error:    float texture(sampler2DArrayShadow, vec4)
0:175(17): error:    vec4 texture(sampler2DRect, vec2)
0:175(17): error:    ivec4 texture(isampler2DRect, vec2)
0:175(17): error:    uvec4 texture(usampler2DRect, vec2)
0:175(17): error:    float texture(sampler2DRectShadow, vec3)
0:175(17): error:    vec4 texture(sampler1D, float, float)
0:175(17): error:    ivec4 texture(isampler1D, float, float)
0:175(17): error:    uvec4 texture(usampler1D, float, float)
0:175(17): error:    vec4 texture(sampler2D, vec2, float)
0:175(17): error:    ivec4 texture(isampler2D, vec2, float)
0:175(17): error:    uvec4 texture(usampler2D, vec2, float)
0:175(17): error:    vec4 texture(sampler3D, vec3, float)
0:175(17): error:    ivec4 texture(isampler3D, vec3, float)
0:175(17): error:    uvec4 texture(usampler3D, vec3, float)
0:175(17): error:    vec4 texture(samplerCube, vec3, float)
0:175(17): error:    ivec4 texture(isamplerCube, vec3, float)
0:175(17): error:    uvec4 texture(usamplerCube, vec3, float)
0:175(17): error:    float texture(sampler1DShadow, vec3, float)
0:175(17): error:    float textu
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1055.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1064.shader_test failed to compile:
0:65(2): error: `gl_TexCoord' undeclared
0:65(2): error: type mismatch
0:65(2): error: value of type float cannot be assigned to variable of type error
0:70(2): error: `gl_TexCoord' undeclared
0:70(2): error: type mismatch
0:70(2): error: value of type float cannot be assigned to variable of type error
0:164(2): error: `gl_TexCoord' undeclared
0:164(2): error: type mismatch
0:164(2): error: value of type vec3 cannot be assigned to variable of type error
0:175(2): error: `gl_TexCoord' undeclared
0:175(2): error: type mismatch
0:175(2): error: value of type vec3 cannot be assigned to variable of type error
0:179(2): error: `gl_TexCoord' undeclared
0:179(2): error: type mismatch
0:179(2): error: value of type vec3 cannot be assigned to variable of type error
0:180(2): error: `gl_TexCoord' undeclared
0:180(2): error: type mismatch
0:180(2): error: value of type vec3 cannot be assigned to variable of type error
0:184(2): error: `gl_TexCoord' undeclared
0:184(2): error: type mismatch
0:184(2): error: value of type vec2 cannot be assigned to variable of type error
0:193(2): error: `gl_TexCoord' undeclared
0:193(2): error: type mismatch
0:193(2): error: value of type float cannot be assigned to variable of type error
0:209(2): error: `gl_TexCoord' undeclared
0:209(2): error: value of type vec4 cannot be assigned to variable of type error
0:210(2): error: `gl_TexCoord' undeclared
0:210(2): error: type mismatch
0:210(2): error: value of type float cannot be assigned to variable of type error
0:211(2): error: `gl_TexCoord' undeclared
0:211(2): error: type mismatch
0:211(2): error: value of type vec3 cannot be assigned to variable of type error
0:212(2): error: `gl_TexCoord' undeclared
0:212(2): error: type mismatch
0:212(2): error: value of type float cannot be assigned to variable of type error
0:213(2): error: `gl_TexCoord' undeclared
0:213(2): error: type mismatch
0:213(2): error: value of type vec2 cannot be assigned to variable of type error
0:214(2): error: `gl_TexCoord' undeclared
0:214(2): error: type mismatch
0:214(2): error: value of type float cannot be assigned to variable of type error
0:215(2): error: `gl_TexCoord' undeclared
0:215(2): error: type mismatch
0:215(2): error: value of type float cannot be assigned to variable of type error

ERROR: shaders/w40kdawn2/1055.shader_test failed to compile:
0:111(11): error: `gl_TexCoord' undeclared
0:111(11): error: type mismatch
0:111(11): error: operands to arithmetic operators must be numeric
0:111(11): error: operands to arithmetic operators must be numeric
0:116(18): error: `gl_TexCoord' undeclared
0:116(18): error: type mismatch
0:116(10): error: operands to arithmetic operators must be numeric
0:119(19): error: `gl_TexCoord' undeclared
0:119(19): error: type mismatch
0:119(18): error: operands to arithmetic operators must be numeric
0:119(10): error: operands to arithmetic operators must be numeric
0:120(16): error: `gl_TexCoord' undeclared
0:120(16): error: type mismatch
0:120(9): error: operands to arithmetic operators must be numeric
0:128(16): error: `gl_TexCoord' undeclared
0:128(16): error: type mismatch
0:128(9): error: operands to arithmetic operators must be numeric
0:132(16): error: `gl_TexCoord' undeclared
0:132(16): error: type mismatch
0:132(9): error: operands to arithmetic operators must be numeric
0:136(16): error: `gl_TexCoord' undeclared
0:136(16): error: type mismatch
0:136(9): error: operands to arithmetic operators must be numeric
0:142(16): error: `gl_TexCoord' undeclared
0:142(16): error: type mismatch
0:142(9): error: operands to arithmetic operators must be numeric
0:154(16): error: `gl_TexCoord' undeclared
0:154(16): error: type mismatch
0:154(9): error: operands to arithmetic operators must be numeric
0:166(16): error: `gl_TexCoord' undeclared
0:166(16): error: type mismatch
0:166(9): error: operands to arithmetic operators must be numeric
0:178(16): error: `gl_TexCoord' undeclared
0:178(16): error: type mismatch
0:178(9): error: operands to arithmetic operators must be numeric
0:190(16): error: `gl_TexCoord' undeclared
0:190(16): error: type mismatch
0:190(9): error: operands to arithmetic operators must be numeric
0:202(16): error: `gl_TexCoord' undeclared
0:202(16): error: type mismatch
0:202(9): error: operands to arithmetic operators must be numeric
0:214(16): error: `gl_TexCoord' undeclared
0:214(16): error: type mismatch
0:214(9): error: operands to arithmetic operators must be numeric
0:227(38): error: `gl_TexCoord' undeclared
0:227(33): error: cannot construct `vec3' from a non-numeric data type
0:227(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:227(17): error:    vec4 texture(sampler1D, float)
0:227(17): error:    ivec4 texture(isampler1D, float)
0:227(17): error:    uvec4 texture(usampler1D, float)
0:227(17): error:    vec4 texture(sampler2D, vec2)
0:227(17): error:    ivec4 texture(isampler2D, vec2)
0:227(17): error:    uvec4 texture(usampler2D, vec2)
0:227(17): error:    vec4 texture(sampler3D, vec3)
0:227(17): error:    ivec4 texture(isampler3D, vec3)
0:227(17): error:    uvec4 texture(usampler3D, vec3)
0:227(17): error:    vec4 texture(samplerCube, vec3)
0:227(17): error:    ivec4 texture(isamplerCube, vec3)
0:227(17): error:    uvec4 texture(usamplerCube, vec3)
0:227(17): error:    float texture(sampler1DShadow, vec3)
0:227(17): error:    float texture(sampler2DShadow, vec3)
0:227(17): error:    float texture(samplerCubeShadow, vec4)
0:227(17): error:    vec4 texture(sampler1DArray, vec2)
0:227(17): error:    ivec4 texture(isampler1DArray, vec2)
0:227(17): error:    uvec4 texture(usampler1DArray, vec2)
0:227(17): error:    vec4 texture(sampler2DArray, vec3)
0:227(17): error:    ivec4 texture(isampler2DArray, vec3)
0:227(17): error:    uvec4 texture(usampler2DArray, vec3)
0:227(17): error:    float texture(sampler1DArrayShadow, vec3)
0:227(17): error:    float texture(sampler2DArrayShadow, vec4)
0:227(17): error:    vec4 texture(sampler2DRect, vec2)
0:227(17): error:    ivec4 texture(isampler2DRect, vec2)
0:227(17): error:    uvec4 texture(usampler2DRect, vec2)
0:227(17): error:    float texture(sampler2DRectShadow, vec3)
0:227(17): error:    vec4 texture(sampler1D, float, float)
0:227(17): error:    ivec4 texture(isampler1D, float, float)
0:227(17): error:    uvec4 texture(usampler1D, float, float)
0:227(17): error:    vec4 texture(sampler2D, vec2, float)
0:227(17): erro
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/w40kdawn2/1064.shader_test failed to compile:
0:106(11): error: `gl_TexCoord' undeclared
0:106(11): error: type mismatch
0:106(11): error: operands to arithmetic operators must be numeric
0:106(11): error: operands to arithmetic operators must be numeric
0:111(18): error: `gl_TexCoord' undeclared
0:111(18): error: type mismatch
0:111(10): error: operands to arithmetic operators must be numeric
0:114(19): error: `gl_TexCoord' undeclared
0:114(19): error: type mismatch
0:114(18): error: operands to arithmetic operators must be numeric
0:114(10): error: operands to arithmetic operators must be numeric
0:115(16): error: `gl_TexCoord' undeclared
0:115(16): error: type mismatch
0:115(9): error: operands to arithmetic operators must be numeric
0:123(16): error: `gl_TexCoord' undeclared
0:123(16): error: type mismatch
0:123(9): error: operands to arithmetic operators must be numeric
0:127(16): error: `gl_TexCoord' undeclared
0:127(16): error: type mismatch
0:127(9): error: operands to arithmetic operators must be numeric
0:131(16): error: `gl_TexCoord' undeclared
0:131(16): error: type mismatch
0:131(9): error: operands to arithmetic operators must be numeric
0:137(16): error: `gl_TexCoord' undeclared
0:137(16): error: type mismatch
0:137(9): error: operands to arithmetic operators must be numeric
0:149(16): error: `gl_TexCoord' undeclared
0:149(16): error: type mismatch
0:149(9): error: operands to arithmetic operators must be numeric
0:162(37): error: `gl_TexCoord' undeclared
0:162(32): error: cannot construct `vec3' from a non-numeric data type
0:162(17): error: no matching function for call to `texture(sampler2DShadow, error)'; candidates are:
0:162(17): error:    vec4 texture(sampler1D, float)
0:162(17): error:    ivec4 texture(isampler1D, float)
0:162(17): error:    uvec4 texture(usampler1D, float)
0:162(17): error:    vec4 texture(sampler2D, vec2)
0:162(17): error:    ivec4 texture(isampler2D, vec2)
0:162(17): error:    uvec4 texture(usampler2D, vec2)
0:162(17): error:    vec4 texture(sampler3D, vec3)
0:162(17): error:    ivec4 texture(isampler3D, vec3)
0:162(17): error:    uvec4 texture(usampler3D, vec3)
0:162(17): error:    vec4 texture(samplerCube, vec3)
0:162(17): error:    ivec4 texture(isamplerCube, vec3)
0:162(17): error:    uvec4 texture(usamplerCube, vec3)
0:162(17): error:    float texture(sampler1DShadow, vec3)
0:162(17): error:    float texture(sampler2DShadow, vec3)
0:162(17): error:    float texture(samplerCubeShadow, vec4)
0:162(17): error:    vec4 texture(sampler1DArray, vec2)
0:162(17): error:    ivec4 texture(isampler1DArray, vec2)
0:162(17): error:    uvec4 texture(usampler1DArray, vec2)
0:162(17): error:    vec4 texture(sampler2DArray, vec3)
0:162(17): error:    ivec4 texture(isampler2DArray, vec3)
0:162(17): error:    uvec4 texture(usampler2DArray, vec3)
0:162(17): error:    float texture(sampler1DArrayShadow, vec3)
0:162(17): error:    float texture(sampler2DArrayShadow, vec4)
0:162(17): error:    vec4 texture(sampler2DRect, vec2)
0:162(17): error:    ivec4 texture(isampler2DRect, vec2)
0:162(17): error:    uvec4 texture(usampler2DRect, vec2)
0:162(17): error:    float texture(sampler2DRectShadow, vec3)
0:162(17): error:    vec4 texture(sampler1D, float, float)
0:162(17): error:    ivec4 texture(isampler1D, float, float)
0:162(17): error:    uvec4 texture(usampler1D, float, float)
0:162(17): error:    vec4 texture(sampler2D, vec2, float)
0:162(17): error:    ivec4 texture(isampler2D, vec2, float)
0:162(17): error:    uvec4 texture(usampler2D, vec2, float)
0:162(17): error:    vec4 texture(sampler3D, vec3, float)
0:162(17): error:    ivec4 texture(isampler3D, vec3, float)
0:162(17): error:    uvec4 texture(usampler3D, vec3, float)
0:162(17): error:    vec4 texture(samplerCube, vec3, float)
0:162(17): error:    ivec4 texture(isamplerCube, vec3, float)
0:162(17): error:    uvec4 texture(usamplerCube, vec3, float)
0:162(17): error:    float texture(sampler1DShadow, vec3, float)
0:162(17): error:    float texture(sampler2DShadow, vec3, float)
0:162(17): error:    float texture(samplerCubeShadow, vec4, float)
0:162(17): error:    vec4 texture(sampler
ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: failed to link progam:
error: vertex shader output `out_TEXCOORD0' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier

ERROR: failed to link progam:
error: vertex shader output `out_TEXCOORD0' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier

ERROR: shaders/metro2033redux/7307.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: shaders/metro2033redux/7307.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/metro2033redux/7902.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: shaders/metro2033redux/7902.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/metro2033redux/7897.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: shaders/metro2033redux/7897.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: shaders/metro2033redux/5326.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: shaders/metro2033redux/5326.shader_test failed to compile:
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

ERROR: failed to link progam:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
Comment 5 ben@besd.de 2018-03-31 13:09:47 UTC
I've added two more testruns one with one without debug build including the output of stderr. NIR seems to crash at the exact same point in the debug build regardless of llvm backend.
Comment 6 Timothy Arceri 2018-04-01 00:51:44 UTC
It's crashing because there is no bindless textures support. This is still outstanding as the core NIR bindless textures support is still being worked on.
Comment 7 ben@besd.de 2018-04-01 09:04:38 UTC
Why doesnt it crash in the release build then?
Comment 8 Timothy Arceri 2018-04-01 11:17:12 UTC
(In reply to ben@besd.de from comment #7)
> Why doesnt it crash in the release build then?

Lots of things will crash when using NIR in 18.0 if that's what you mean. It's still experimental and disabled by default. When 18.0 was branched many piglit/cts tests were failing and the patches weren't and won't be back ported to 18.0.
Comment 9 Timothy Arceri 2018-04-01 11:20:14 UTC
(In reply to ben@besd.de from comment #7)
> Why doesnt it crash in the release build then?

Oh that was why *doesn't* it crash. No idea it probably doesn't even get far enough along to crash. It might even skip it due to not meeting the minimum GL version (I've no idea what NIR supports in 18.0).
Comment 10 ben@besd.de 2018-04-01 11:25:46 UTC
Created attachment 138474 [details] [review]
Disable bindless textures with radeonsi NIR until there is  support for them.
Comment 11 ben@besd.de 2018-04-01 11:29:13 UTC
The funny thing is that I tested Dirt Rally with nir and it didnt crash although it supposedly requires bindless.

Im currently running tests again, but it will take a long time because in the debug build NIR takes about 8x as much time as TGSI to compile all shaders with the above patch to disable bindless (1000s per thread vs 160s)

Lets see what happens ;)
Comment 12 ben@besd.de 2018-04-01 11:30:13 UTC
also it seems only five shaders are affected
** Tests only in 'before' results are ignored:
shaders/w40kdawn3/958.shader_test, shaders/w40kdawn3/1088.shader_test, shaders/w40kdawn3/1068.shader_test, shaders/w40kdawn3/960.shader_test, shaders/w40kdawn3/1070.shader_test
Comment 13 Timothy Arceri 2018-04-01 11:56:20 UTC
(In reply to ben@besd.de from comment #11)
> The funny thing is that I tested Dirt Rally with nir and it didnt crash
> although it supposedly requires bindless.
> 
> Im currently running tests again, but it will take a long time because in
> the debug build NIR takes about 8x as much time as TGSI to compile all
> shaders with the above patch to disable bindless (1000s per thread vs 160s)
> 
> Lets see what happens ;)

You can use the NIR_VALIDATE=0 environment var to speed things up.
Comment 14 ben@besd.de 2018-04-01 14:56:24 UTC
No cheating ;)

Main reason for using the debug build were these lines
shaders/csgo/595.shader_test - LLVM diagnostic (remark): <unknown>:0:0: 11 instructions in function

because I thought unknown might be replaced by something useful, which isn't the case.

Also contrary to the shader-db README there is absolutely no reason to use a debug build. The output is identical.

Off to test Dirt Rally with my patch, lets see if it fails now.
Comment 15 ben@besd.de 2018-04-01 15:46:57 UTC
Created attachment 138478 [details] [review]
v2 Disable bindless textures with radeonsi NIR until there is support for them.
Comment 16 ben@besd.de 2018-04-01 15:49:00 UTC
Not a big thing, but might save you from stupid questions ;)

kindly review and push
Comment 17 ben@besd.de 2018-04-03 11:53:23 UTC
I tried manually enabling ARB_bindless_texture with TGSI for the remaining feral Games, but they dont seem to profit from it or crash:

Deus Ex: Mankind Divided:
- with bindless first run 18.2/7.1/28.7 second run 17.9/8.7/26.7 
- without                 19.8/8.2/31.5            21.8/8.8/34.7 
-> faster without bindless

HITMAN - crashes with bindless before even starting benchmark
DiRT Rally 

- without 54/37-41/71-83 
- with bindless 52/39/69 
-> faster without bindless?

Mad Max - works, no benchmark available


I tried to enable bindless textures with editing the preferences
file in the respective game directory .local/share/feral-interactive
and added <value name="EnableBindlessTexture" type="integer">1</value>

Seems to be recognized, but is it enough?
How can I find out if the game is actually using this extension?
Comment 18 ben@besd.de 2018-04-04 20:06:58 UTC
I've also changed shader capture to name shaders after the sha1 of their source + program number and noticed that shader-db compiles some of them twice with different results (happens for TGSI as well but makes comparisons difficult):
R600_DEBUG=nir ./run shaders/metro2033redux/ | sort

shaders/metro2033redux/fa37761e70a58456b26005791e1ae0ea1f8398b03876.shader_test - LLVM diagnostic (remark): <unknown>:0:0: 215 instructions in function
shaders/metro2033redux/fa37761e70a58456b26005791e1ae0ea1f8398b03876.shader_test - LLVM diagnostic (remark): <unknown>:0:0: 324 instructions in function
shaders/metro2033redux/fa37761e70a58456b26005791e1ae0ea1f8398b03876.shader_test - Shader Stats: SGPRS: 56 VGPRS: 36 Code Size: 1060 LDS: 0 Scratch: 0 Max Waves: 7 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
shaders/metro2033redux/fa37761e70a58456b26005791e1ae0ea1f8398b03876.shader_test - Shader Stats: SGPRS: 64 VGPRS: 32 Code Size: 1720 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
shaders/metro2033redux/fa70500e637e4e51c3c907df268522ec48430dc82798.shader_test - LLVM diagnostic (remark): <unknown>:0:0: 250 instructions in function
shaders/metro2033redux/fa70500e637e4e51c3c907df268522ec48430dc82798.shader_test - LLVM diagnostic (remark): <unknown>:0:0: 87 instructions in function
shaders/metro2033redux/fa70500e637e4e51c3c907df268522ec48430dc82798.shader_test - Shader Stats: SGPRS: 40 VGPRS: 28 Code Size: 484 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
shaders/metro2033redux/fa70500e637e4e51c3c907df268522ec48430dc82798.shader_test - Shader Stats: SGPRS: 48 VGPRS: 32 Code Size: 1300 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
Comment 19 Karol Herbst 2018-04-10 10:49:42 UTC
how can you make dow2 use bindless_textures? This kind of looks like a mesa issue and not really related to radeonsi at all (the shader compile fails)
Comment 20 Karol Herbst 2018-04-10 10:50:39 UTC
(In reply to Karol Herbst from comment #19)
> how can you make dow2 use bindless_textures? This kind of looks like a mesa
> issue and not really related to radeonsi at all (the shader compile fails)

ohh comment 17 has the info...
Comment 21 Timothy Arceri 2018-04-10 10:59:39 UTC
(In reply to Karol Herbst from comment #19)
> how can you make dow2 use bindless_textures? This kind of looks like a mesa
> issue and not really related to radeonsi at all (the shader compile fails)

DoW3 requires bindless. I could be wrong but the shader compiles are likely just a shader-db issue rather than a Mesa bug.
Comment 22 Timothy Arceri 2019-03-31 23:49:26 UTC
I'm going to close this bug. We have had partial bindless support in NIR for a while now and full support should land along with MR 519 [1]. This bug doesn't gain us anything extra.

[1] https://gitlab.freedesktop.org/mesa/mesa/merge_requests/519/


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.