Skip to content

ShaderLab support MRT #3865

ShaderLab support MRT

ShaderLab support MRT #3865

Triggered via pull request December 23, 2024 08:05
Status Failure
Total duration 5m 23s
Artifacts 3

ci.yml

on: pull_request
Matrix: build
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
src/shader-lab/ShaderLab.test.ts > ShaderLab > engine shader: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:6: 'o' : undeclared identifier ERROR: 0:6: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:6: 'v' : undeclared identifier ERROR: 0:6: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:6: 'assign' : l-value required (can't modify a const) ERROR: 0:7: 'v' : undeclared identifier ERROR: 0:7: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: '=' : dimension mismatch ERROR: 0:7: '=' : cannot convert from 'highp 4X4 matrix of float' to 'highp 4-component vector of float' ERROR: 0:8: 'o' : undeclared identifier ERROR: 0:8: 'v_position' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:8: 'assign' : l-value required (can't modify a const) ERROR: 0:8: '=' : dimension mismatch ERROR: 0:8: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:9: 'v' : undeclared identifier ERROR: 0:9: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:9: '=' : dimension mismatch ERROR: 0:9: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' ERROR: 0:10: 'v' : undeclared identifier ERROR: 0:10: 'TBN' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:10: 'expression' : left of '[' is not of type array, matrix, or vector ERROR: 0:10: '=' : dimension mismatch ERROR: 0:10: '=' : cannot convert from 'const highp float' to 'highp 3-component vector of float' 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 uniform mat4 renderer_MVMat ; 0:4 0:5 void main() { 0:6 o.v_uv = v.TEXCOORD_0 ; 0:7 vec4 tmp = renderer_MVMat * v.POSITION ; 0:8 o.v_position = tmp.xyz ; 0:9 gl_Position = renderer_MVPMat * v.POSITION ; 0:10 vec3 tangentW = v.TBN[0] ; 0:11 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:191:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > include: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:19: 'o' : undeclared identifier ERROR: 0:19: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:19: 'v' : undeclared identifier ERROR: 0:19: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:19: 'assign' : l-value required (can't modify a const) ERROR: 0:20: 'v' : undeclared identifier ERROR: 0:20: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:20: '=' : dimension mismatch ERROR: 0:20: '=' : cannot convert from 'highp 4X4 matrix of float' to 'highp 4-component vector of float' ERROR: 0:21: 'o' : undeclared identifier ERROR: 0:21: 'v_position' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:21: 'assign' : l-value required (can't modify a const) ERROR: 0:21: '=' : dimension mismatch ERROR: 0:21: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:22: 'v' : undeclared identifier ERROR: 0:22: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:22: '=' : dimension mismatch ERROR: 0:22: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' ERROR: 0:26: 'o' : undeclared identifier ERROR: 0:26: 'v_position' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:26: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:26: 'assign' : l-value required (can't modify a const) ERROR: 0:26: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' 0:1 #version 300 es 0:2 uniform sampler2D u_textures [ 3 ] ; 0:3 uniform lowp mat4 renderer_MVPMat ; 0:4 uniform highp mat4 renderer_MVMat ; 0:5 uniform ivec3 renderer_BlendShapeTextureInfo ; 0:6 uniform vec2 renderer_BlendShapeWeights [ 10 ] ; 0:7 float pow2 ( float x ) { return x * x ; } 0:8 float G_GGX_SmithCorrelated ( float alpha, float dotNL, float dotNV ) { float a2 = pow2(alpha) ; 0:9 float gv = dotNL * sqrt ( a2 + ( 1.0 - a2 ) * pow2(dotNV) ) ; 0:10 float gl = dotNV * sqrt ( a2 + ( 1.0 - a2 ) * pow2(dotNL) ) ; 0:11 return 0.5 / max ( gv + gl , 1e-6 ) ; } 0:12 vec3 getBlendShapeVertexElement ( int blendShapeIndex, int vertexElementIndex ) { int y = vertexElementIndex / renderer_BlendShapeTextureInfo.y ; 0:13 int x = vertexElementIndex - y * renderer_BlendShapeTextureInfo.y ; 0:14 ivec3 uv = ivec3 ( x , y , blendShapeIndex ) ; 0:15 vec4 tmp = texture ( u_textures[1] , vec2 ( uv.xy ) ) ; 0:16 return tmp.xyz ; } 0:17 0:18 void main() { 0:19 o.v_uv = v.TEXCOORD_0 ; 0:20 vec4 tmp = renderer_MVMat * v.POSITION ; 0:21 o.v_position = tmp.xyz ; 0:22 gl_Position = renderer_MVPMat * v.POSITION ; 0:23 mediump float test = G_GGX_SmithCorrelated(1.0, 1.0, 0.5) ; 0:24 for ( int i = 0 ; i < 10 ; i ++ ) { int vertexElementOffset = 2 ; 0:25 float weight = renderer_BlendShapeWeights[i].x ; 0:26 o.v_position.xyz += getBlendShapeVertexElement(i, vertexElementOffset) * weight ; } 0:27 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:197:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > planarShadow shader: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:15: 'v' : undeclared identifier ERROR: 0:15: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:15: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:15: 'constructor' : not enough data provided for construction ERROR: 0:20: 'o' : undeclared identifier ERROR: 0:20: 'color' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:20: 'assign' : l-value required (can't modify a const) ERROR: 0:20: '=' : dimension mismatch ERROR: 0:20: 'assign' : cannot convert from 'uniform highp 4-component vector of float' to 'const highp float' ERROR: 0:21: 'o' : undeclared identifier ERROR: 0:21: 'color' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:21: 'a' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:21: 'assign' : l-value required (can't modify a const) 0:1 #version 300 es 0:2 uniform vec3 u_lightDir ; 0:3 uniform float u_planarHeight ; 0:4 uniform vec4 u_planarShadowColor ; 0:5 uniform float u_planarShadowFalloff ; 0:6 uniform mat4 renderer_ModelMat ; 0:7 uniform mat4 camera_VPMat ; 0:8 vec3 ShadowProjectPos ( vec4 vertPos ) { vec3 shadowPos ; 0:9 vec3 worldPos = ( renderer_ModelMat * vertPos ).xyz ; 0:10 shadowPos.y = min ( worldPos.y , u_planarHeight ) ; 0:11 shadowPos.xz = worldPos.xz - u_lightDir.xz * max ( 0.0 , worldPos.y - u_planarHeight ) / u_lightDir.y ; 0:12 return shadowPos ; } 0:13 0:14 void main() { 0:15 vec4 position = vec4 ( v.POSITION.xyz , 1.0 ) ; 0:16 vec3 shadowPos = ShadowProjectPos(position) ; 0:17 gl_Position = camera_VPMat * vec4 ( shadowPos , 1.0 ) ; 0:18 vec3 center = vec3 ( renderer_ModelMat[3].x , u_planarHeight , renderer_ModelMat[3].z ) ; 0:19 float falloff = 0.5 - clamp ( distance ( shadowPos , center ) * u_planarShadowFalloff , 0.0 , 1.0 ) ; 0:20 o.color = u_planarShadowColor ; 0:21 o.color.a *= falloff ; 0:22 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:202:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > Empty macro shader: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:6: 'v' : undeclared identifier ERROR: 0:6: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:6: '=' : dimension mismatch ERROR: 0:6: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' ERROR: 0:7: 'o' : undeclared identifier ERROR: 0:7: 'v_color' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: 'assign' : l-value required (can't modify a const) ERROR: 0:7: '=' : dimension mismatch ERROR: 0:7: 'assign' : cannot convert from 'uniform highp 3-component vector of float' to 'const highp float' 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 uniform vec3 u_color ; 0:4 0:5 void main() { 0:6 gl_Position = renderer_MVPMat * v.POSITION ; 0:7 o.v_color = u_color ; 0:8 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:208:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > No frag shader args: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:4: 'v' : undeclared identifier ERROR: 0:4: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:4: '=' : dimension mismatch ERROR: 0:4: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 0:4 void main() { gl_Position = renderer_MVPMat * v.POSITION ; }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:214:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > water full shader(complex): tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:59: 'o' : undeclared identifier ERROR: 0:59: 'v_ProjectionInvMat' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:59: 'assign' : l-value required (can't modify a const) ERROR: 0:59: '=' : dimension mismatch ERROR: 0:59: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'const highp float' ERROR: 0:61: 'o' : undeclared identifier ERROR: 0:61: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:61: 'v' : undeclared identifier ERROR: 0:61: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:61: 'assign' : l-value required (can't modify a const) ERROR: 0:62: 'v' : undeclared identifier ERROR: 0:62: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:62: 'constructor' : not enough data provided for construction ERROR: 0:63: 'v' : undeclared identifier ERROR: 0:63: 'NORMAL' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:63: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:63: 'normalize' : no matching overloaded function found ERROR: 0:63: '=' : dimension mismatch ERROR: 0:63: '=' : cannot convert from 'const mediump float' to 'highp 3-component vector of float' ERROR: 0:64: 'v' : undeclared identifier ERROR: 0:64: 'TANGENT' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:64: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:64: 'normalize' : no matching overloaded function found ERROR: 0:64: '=' : dimension mismatch ERROR: 0:64: '=' : cannot convert from 'const mediump float' to 'highp 3-component vector of float' ERROR: 0:65: 'v' : undeclared identifier ERROR: 0:65: 'TANGENT' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:65: 'w' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:74: 'o' : undeclared identifier ERROR: 0:74: 'v_waveY' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:74: 'assign' : l-value required (can't modify a const) ERROR: 0:75: 'o' : undeclared identifier ERROR: 0:75: 'v_posOS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:75: 'assign' : l-value required (can't modify a const) ERROR: 0:75: '=' : dimension mismatch ERROR: 0:75: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:76: 'o' : undeclared identifier ERROR: 0:76: 'v_posWS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:76: 'assign' : l-value required (can't modify a const) ERROR: 0:76: '=' : dimension mismatch ERROR: 0:76: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:77: 'o' : undeclared identifier ERROR: 0:77: 'v_posCS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:77: 'assign' : l-value required (can't modify a const) ERROR: 0:77: '=' : dimension mismatch ERROR: 0:77: 'assign' : cannot convert from 'highp 4-component vector of float' to 'const highp float' ERROR: 0:78: 'o' : undeclared identifier ERROR: 0:78: 'v_normalOS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:78: 'assign' : l-value required (can't modify a const) ERROR: 0:78: '=' : dimension mismatch ERROR: 0:78: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:79: 'o' : undeclared identifier ERROR: 0:79: 'v_defaultNormalWS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:79: 'assign' : l-value required (can't modify a const) ERROR: 0:79: '=' : dimension mismatch ERROR: 0:79: 'assign' : cannot convert from 'highp 3-component vector
src/shader-lab/ShaderLab.test.ts > ShaderLab > glass shader: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:7: 'attr' : undeclared identifier ERROR: 0:7: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: '=' : dimension mismatch ERROR: 0:7: '=' : cannot convert from 'highp 4X4 matrix of float' to 'highp 3-component vector of float' ERROR: 0:8: 'attr' : undeclared identifier ERROR: 0:8: 'NORMAL' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:8: 'xyz' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:8: 'normalize' : no matching overloaded function found ERROR: 0:8: '=' : dimension mismatch ERROR: 0:8: '=' : cannot convert from 'const mediump float' to 'highp 3-component vector of float' ERROR: 0:10: 'vary' : undeclared identifier ERROR: 0:10: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:10: 'attr' : undeclared identifier ERROR: 0:10: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:10: 'assign' : l-value required (can't modify a const) ERROR: 0:11: 'vary' : undeclared identifier ERROR: 0:11: 'v_posWS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:11: 'assign' : l-value required (can't modify a const) ERROR: 0:11: '=' : dimension mismatch ERROR: 0:11: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:12: 'vary' : undeclared identifier ERROR: 0:12: 'v_normalWS' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:12: 'assign' : l-value required (can't modify a const) ERROR: 0:12: '=' : dimension mismatch ERROR: 0:12: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' 0:1 #version 300 es 0:2 uniform mat4 camera_VPMat ; 0:3 uniform mat4 renderer_ModelMat ; 0:4 uniform mat4 renderer_NormalMat ; 0:5 0:6 void main() { 0:7 vec3 posWS = ( renderer_ModelMat * attr.POSITION ).xyz ; 0:8 vec3 NormalWS = normalize ( mat3 ( renderer_NormalMat ) * attr.NORMAL.xyz ) ; 0:9 vec4 posCS = camera_VPMat * vec4 ( posWS , 1.0 ) ; 0:10 vary.v_uv = attr.TEXCOORD_0 ; 0:11 vary.v_posWS = posWS ; 0:12 vary.v_normalWS = NormalWS ; 0:13 gl_Position = posCS ; 0:14 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:226:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > template shader: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:5: 'v' : undeclared identifier ERROR: 0:5: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:5: '=' : dimension mismatch ERROR: 0:5: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' ERROR: 0:6: 'o' : undeclared identifier ERROR: 0:6: 'v_pos' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:6: 'assign' : l-value required (can't modify a const) ERROR: 0:6: '=' : dimension mismatch ERROR: 0:6: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:7: 'o' : undeclared identifier ERROR: 0:7: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: 'v' : undeclared identifier ERROR: 0:7: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: 'assign' : l-value required (can't modify a const) 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 0:4 void main() { 0:5 gl_Position = renderer_MVPMat * v.POSITION ; 0:6 o.v_pos = gl_Position.xyz ; 0:7 o.v_uv = v.TEXCOORD_0 ; 0:8 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:232:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > multi-pass: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:6: 'v' : undeclared identifier ERROR: 0:6: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:6: '=' : dimension mismatch ERROR: 0:6: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' ERROR: 0:7: 'o' : undeclared identifier ERROR: 0:7: 'v_color' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:7: 'assign' : l-value required (can't modify a const) ERROR: 0:7: '=' : dimension mismatch ERROR: 0:7: 'assign' : cannot convert from 'uniform highp 3-component vector of float' to 'const highp float' 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 uniform vec3 u_color ; 0:4 0:5 void main() { 0:6 gl_Position = renderer_MVPMat * v.POSITION ; 0:7 o.v_color = u_color ; 0:8 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:238:4
src/shader-lab/ShaderLab.test.ts > ShaderLab > macro-with-preprocessor: tests/src/shader-lab/ShaderValidate.ts#L51
AssertionError: Error compiling vertex shader: ERROR: 0:20: 'o' : undeclared identifier ERROR: 0:20: 'v_uv' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:20: 'v' : undeclared identifier ERROR: 0:20: 'TEXCOORD_0' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:20: 'assign' : l-value required (can't modify a const) ERROR: 0:21: 'v' : undeclared identifier ERROR: 0:21: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:21: '=' : dimension mismatch ERROR: 0:21: '=' : cannot convert from 'highp 4X4 matrix of float' to 'highp 4-component vector of float' ERROR: 0:23: 'o' : undeclared identifier ERROR: 0:23: 'v_position' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:23: 'assign' : l-value required (can't modify a const) ERROR: 0:23: '=' : dimension mismatch ERROR: 0:23: 'assign' : cannot convert from 'highp 3-component vector of float' to 'const highp float' ERROR: 0:24: 'v' : undeclared identifier ERROR: 0:24: 'POSITION' : field selection requires structure, vector, or interface block on left hand side ERROR: 0:24: '=' : dimension mismatch ERROR: 0:24: 'assign' : cannot convert from 'highp 4X4 matrix of float' to 'Position highp 4-component vector of float' 0:1 #version 300 es 0:2 uniform mat4 renderer_MVPMat ; 0:3 uniform mat4 renderer_MVMat ; 0:4 uniform mediump sampler2DShadow scene_ShadowMap ; 0:5 float sampleShadowMapFiltered4 ( mediump sampler2DShadow shadowMap, vec3 shadowCoord, vec4 shadowMapSize ) { float attenuation ; 0:6 vec4 attenuation4 ; 0:7 vec2 offset = shadowMapSize.xy / 2.0 ; 0:8 vec3 shadowCoord0 = shadowCoord + vec3 ( - offset , 0.0 ) ; 0:9 vec3 shadowCoord1 = shadowCoord + vec3 ( offset.x , - offset.y , 0.0 ) ; 0:10 vec3 shadowCoord2 = shadowCoord + vec3 ( - offset.x , offset.y , 0.0 ) ; 0:11 vec3 shadowCoord3 = shadowCoord + vec3 ( offset , 0.0 ) ; 0:12 attenuation4.x = textureLod ( shadowMap , shadowCoord0 , 0.0 ) ; 0:13 attenuation4.y = textureLod ( shadowMap , shadowCoord1 , 0.0 ) ; 0:14 attenuation4.z = textureLod ( shadowMap , shadowCoord2 , 0.0 ) ; 0:15 attenuation4.w = textureLod ( shadowMap , shadowCoord3 , 0.0 ) ; 0:16 attenuation = dot ( attenuation4 , vec4 ( 0.25 ) ) ; 0:17 return attenuation ; } 0:18 0:19 void main() { 0:20 o.v_uv = v.TEXCOORD_0 ; 0:21 vec4 tmp = renderer_MVMat * v.POSITION ; 0:22 float t = sampleShadowMapFiltered4(scene_ShadowMap, vec3 ( 1.0 ), vec4 ( 1.0 )) ; 0:23 o.v_position = tmp.xyz ; 0:24 gl_Position = renderer_MVPMat * v.POSITION ; 0:25 }: expected false to be true - Expected + Received - true + false ❯ validateShaderPass src/shader-lab/ShaderValidate.ts:51:12 ❯ src/shader-lab/ShaderValidate.ts:93:6 ❯ src/shader-lab/ShaderValidate.ts:81:21 ❯ glslValidate src/shader-lab/ShaderValidate.ts:80:20 ❯ src/shader-lab/ShaderLab.test.ts:244:4
e2e (22.x)
Cypress tests: 4 failed
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (22.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-diff", "cypress-origin", "cypress-screenshots". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
cypress-diff
3.87 MB
cypress-origin
5.71 MB
cypress-screenshots
5.4 MB