Update GLSL expected results.
Change-Id: I32aaefe71ea728ae5118de08e5dd9073ddf2269e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73740 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
c5f2fe4c78
commit
5965c6ed1f
|
@ -6,6 +6,13 @@ precision mediump float;
|
|||
struct PointLight {
|
||||
vec4 position;
|
||||
};
|
||||
struct Uniforms {
|
||||
mat4 worldView;
|
||||
mat4 proj;
|
||||
uint numPointLights;
|
||||
uint color_source;
|
||||
vec4 color;
|
||||
};
|
||||
|
||||
layout (binding = 0) uniform Uniforms_1 {
|
||||
mat4 worldView;
|
||||
|
@ -73,7 +80,7 @@ void main() {
|
|||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:59: 'color' : redefinition
|
||||
ERROR: 0:66: 'color' : redefinition
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
SKIP: FAILED
|
||||
|
||||
|
||||
struct buf0 {
|
||||
resolution : vec2<f32>;
|
||||
};
|
||||
|
||||
struct S {
|
||||
field0 : u32;
|
||||
field1 : u32;
|
||||
};
|
||||
|
||||
[[group(0), binding(0)]] var<uniform> x_75 : buf0;
|
||||
|
||||
var<private> gl_FragCoord : vec4<f32>;
|
||||
|
||||
var<private> x_GLF_color : vec4<f32>;
|
||||
|
||||
error: extended arithmetic is not finalized for WGSL: https://github.com/gpuweb/gpuweb/issues/1565: %712 = OpISubBorrow %710 %107 %470
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
SKIP: FAILED
|
||||
|
||||
|
||||
struct buf0 {
|
||||
resolution : vec2<f32>;
|
||||
};
|
||||
|
||||
error: undef pointer is not valid: %845 = OpUndef %434
|
||||
|
|
|
@ -18,6 +18,16 @@ struct Mat4x2_ {
|
|||
vec4 mx;
|
||||
vec4 my;
|
||||
};
|
||||
struct ub_SceneParams {
|
||||
Mat4x4_ u_Projection;
|
||||
};
|
||||
struct ub_MaterialParams {
|
||||
Mat4x2_ u_TexMtx[1];
|
||||
vec4 u_Misc0_;
|
||||
};
|
||||
struct ub_PacketParams {
|
||||
Mat4x3_ u_PosMtx[32];
|
||||
};
|
||||
struct VertexOutput {
|
||||
vec4 v_Color;
|
||||
vec2 v_TexCoord;
|
||||
|
@ -175,7 +185,7 @@ void main() {
|
|||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:157: 'v_Color' : redefinition
|
||||
ERROR: 0:167: 'v_Color' : redefinition
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,24 @@
|
|||
SKIP: FAILED
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct Uniforms {
|
||||
float NAN;
|
||||
ivec3 aShape;
|
||||
ivec3 bShape;
|
||||
ivec3 outShape;
|
||||
ivec2 outShapeStrides;
|
||||
};
|
||||
struct ssbOut {
|
||||
float result[];
|
||||
};
|
||||
struct ssbA {
|
||||
float A[];
|
||||
};
|
||||
struct ssbB {
|
||||
float B[];
|
||||
};
|
||||
|
||||
int dimAOuter_1 = 0;
|
||||
layout (binding = 3) uniform Uniforms_1 {
|
||||
|
@ -392,3 +410,10 @@ void main() {
|
|||
}
|
||||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:12: '' : array size required
|
||||
ERROR: 0:13: '' : compilation terminated
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,17 @@ SKIP: FAILED
|
|||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct LeftOver {
|
||||
float time;
|
||||
uint padding;
|
||||
mat4 worldViewProjection;
|
||||
vec2 outputSize;
|
||||
vec2 stageSize;
|
||||
vec2 spriteMapSize;
|
||||
float stageScale;
|
||||
float spriteCount;
|
||||
vec3 colorMul;
|
||||
};
|
||||
|
||||
layout (binding = 9) uniform LeftOver_1 {
|
||||
float time;
|
||||
|
@ -218,9 +229,9 @@ void main() {
|
|||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:65: 'frac' : no matching overloaded function found
|
||||
ERROR: 0:65: 'assign' : cannot convert from ' const float' to ' temp mediump 2-component vector of float'
|
||||
ERROR: 0:65: '' : compilation terminated
|
||||
ERROR: 0:76: 'frac' : no matching overloaded function found
|
||||
ERROR: 0:76: 'assign' : cannot convert from ' const float' to ' temp mediump 2-component vector of float'
|
||||
ERROR: 0:76: '' : compilation terminated
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
|
|
@ -7,6 +7,26 @@ struct lightingInfo {
|
|||
vec3 diffuse;
|
||||
vec3 specular;
|
||||
};
|
||||
struct LeftOver {
|
||||
mat4 u_World;
|
||||
mat4 u_ViewProjection;
|
||||
float u_bumpStrength;
|
||||
uint padding;
|
||||
vec3 u_cameraPosition;
|
||||
float u_parallaxScale;
|
||||
float textureInfoName;
|
||||
uint padding_1;
|
||||
vec2 tangentSpaceParameter0;
|
||||
};
|
||||
struct Light0 {
|
||||
vec4 vLightData;
|
||||
vec4 vLightDiffuse;
|
||||
vec4 vLightSpecular;
|
||||
vec3 vLightGround;
|
||||
uint padding_2;
|
||||
vec4 shadowsInfo;
|
||||
vec2 depthValues;
|
||||
};
|
||||
|
||||
float u_Float = 0.0f;
|
||||
vec3 u_Color = vec3(0.0f, 0.0f, 0.0f);
|
||||
|
@ -377,9 +397,9 @@ void main() {
|
|||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:53: 'ddx' : no matching overloaded function found
|
||||
ERROR: 0:53: 'assign' : cannot convert from ' const float' to ' temp mediump 3-component vector of float'
|
||||
ERROR: 0:53: '' : compilation terminated
|
||||
ERROR: 0:73: 'ddx' : no matching overloaded function found
|
||||
ERROR: 0:73: 'assign' : cannot convert from ' const float' to ' temp mediump 3-component vector of float'
|
||||
ERROR: 0:73: '' : compilation terminated
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,21 @@
|
|||
SKIP: FAILED
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct ssbOut {
|
||||
float result[];
|
||||
};
|
||||
struct ssbA {
|
||||
float A[];
|
||||
};
|
||||
struct Uniforms {
|
||||
float NAN;
|
||||
int aShape;
|
||||
int outShape;
|
||||
int outShapeStrides;
|
||||
int size;
|
||||
};
|
||||
|
||||
layout (binding = 0) buffer ssbOut_1 {
|
||||
float result[];
|
||||
|
@ -82,3 +97,10 @@ void main() {
|
|||
}
|
||||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:5: '' : array size required
|
||||
ERROR: 0:6: '' : compilation terminated
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,22 @@
|
|||
SKIP: FAILED
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct ResultMatrix {
|
||||
float numbers[];
|
||||
};
|
||||
struct FirstMatrix {
|
||||
float numbers[];
|
||||
};
|
||||
struct SecondMatrix {
|
||||
float numbers[];
|
||||
};
|
||||
struct Uniforms {
|
||||
float NAN;
|
||||
int sizeA;
|
||||
int sizeB;
|
||||
};
|
||||
|
||||
uvec3 tint_symbol = uvec3(0u, 0u, 0u);
|
||||
layout (binding = 2) buffer ResultMatrix_1 {
|
||||
|
@ -64,3 +80,10 @@ void main() {
|
|||
}
|
||||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:5: '' : array size required
|
||||
ERROR: 0:6: '' : compilation terminated
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isFinite/34d32b.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec2<bool> = isFinite(vec2<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isFinite/426f9f.wgsl:28:19 warning: use of deprecated intrinsic
|
||||
var res: bool = isFinite(1.0);
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isFinite/8a23ad.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec3<bool> = isFinite(vec3<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isFinite/f31987.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec4<bool> = isFinite(vec4<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isNormal/863dcd.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec4<bool> = isNormal(vec4<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isNormal/b00ab1.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec2<bool> = isNormal(vec2<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isNormal/c286b7.wgsl:28:25 warning: use of deprecated intrinsic
|
||||
var res: vec3<bool> = isNormal(vec3<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/gen/isNormal/c6e880.wgsl:28:19 warning: use of deprecated intrinsic
|
||||
var res: bool = isNormal(1.0);
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -1,5 +1,53 @@
|
|||
SKIP: FAILED
|
||||
|
||||
intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec4<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec4<f32>(1.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec4<f32>(1., 2., 3., 4.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec3<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec3<f32>(1.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec3<f32>(1., 2., 3.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec2<f32>());
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec2<f32>(1.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(vec2<f32>(1., 2.));
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(1.);
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:18:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(2.);
|
||||
^^^^^^^^
|
||||
|
||||
intrinsics/repeated_use.wgsl:19:9 warning: use of deprecated intrinsic
|
||||
_ = isNormal(3.);
|
||||
^^^^^^^^
|
||||
|
||||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ SKIP: FAILED
|
|||
#version 310 es
|
||||
precision mediump float;
|
||||
|
||||
struct S {
|
||||
float f;
|
||||
uint u;
|
||||
vec4 v;
|
||||
};
|
||||
|
||||
layout (binding = 0) buffer S_1 {
|
||||
float f;
|
||||
|
@ -40,8 +45,9 @@ void main() {
|
|||
|
||||
|
||||
Error parsing GLSL shader:
|
||||
ERROR: 0:17: '' : syntax error, unexpected IDENTIFIER, expecting RIGHT_PAREN
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
ERROR: 0:26: 'assign' : cannot convert from ' in structure{ global mediump float f, global mediump uint u, global mediump 4-component vector of float v}' to 'layout( binding=0 column_major shared) buffer block{layout( column_major shared) buffer mediump float f, layout( column_major shared) buffer mediump uint u, layout( column_major shared) buffer mediump 4-component vector of float v}'
|
||||
ERROR: 0:26: '' : compilation terminated
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue