mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Remove vestigial snapshot outputs (#7380)
This commit is contained in:
1 parent
db4cb26858
commit
79a5cd557c
6 files changed
-205
No files matched your search
@@ -1,75 +0,0 @@
|
||||
#version 310 es
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
struct GlobalConst {
|
||||
uint a;
|
||||
uvec3 b;
|
||||
int c;
|
||||
};
|
||||
struct AlignedWrapper {
|
||||
int value;
|
||||
};
|
||||
struct Baz {
|
||||
mat3x2 m;
|
||||
};
|
||||
struct MatCx2InArray {
|
||||
mat4x2 am[2];
|
||||
};
|
||||
struct AssignToMember {
|
||||
uint x;
|
||||
};
|
||||
|
||||
float read_from_private(inout float foo_2) {
|
||||
float _e1 = foo_2;
|
||||
return _e1;
|
||||
}
|
||||
|
||||
float test_arr_as_arg(float a[5][10]) {
|
||||
return a[4][9];
|
||||
}
|
||||
|
||||
void assign_through_ptr_fn(inout uint p) {
|
||||
p = 42u;
|
||||
return;
|
||||
}
|
||||
|
||||
void assign_array_through_ptr_fn(inout vec4 foo_3[2]) {
|
||||
foo_3 = vec4[2](vec4(1.0), vec4(2.0));
|
||||
return;
|
||||
}
|
||||
|
||||
int array_by_value(int a_1[5], int i) {
|
||||
return a_1[i];
|
||||
}
|
||||
|
||||
uint fetch_arg_ptr_member(inout AssignToMember p_1) {
|
||||
uint _e2 = p_1.x;
|
||||
return _e2;
|
||||
}
|
||||
|
||||
void assign_to_arg_ptr_member(inout AssignToMember p_2) {
|
||||
p_2.x = 10u;
|
||||
return;
|
||||
}
|
||||
|
||||
uint fetch_arg_ptr_array_element(inout uint p_3[4]) {
|
||||
uint _e2 = p_3[1];
|
||||
return _e2;
|
||||
}
|
||||
|
||||
void assign_to_arg_ptr_array_element(inout uint p_4[4]) {
|
||||
p_4[1] = 10u;
|
||||
return;
|
||||
}
|
||||
|
||||
void main() {
|
||||
uint vi_1 = uint(gl_VertexID);
|
||||
int arr_1[5] = int[5](1, 2, 3, 4, 5);
|
||||
int value = arr_1[vi_1];
|
||||
gl_Position = vec4(ivec4(value));
|
||||
gl_Position.yz = vec2(-gl_Position.y, gl_Position.z * 2.0 - gl_Position.w);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
#version 400 core
|
||||
struct FragmentInput {
|
||||
vec4 position;
|
||||
uint _flat;
|
||||
uint flat_first;
|
||||
uint flat_either;
|
||||
float _linear;
|
||||
vec2 linear_centroid;
|
||||
vec3 linear_sample;
|
||||
vec3 linear_center;
|
||||
vec4 perspective;
|
||||
float perspective_centroid;
|
||||
float perspective_sample;
|
||||
float perspective_center;
|
||||
};
|
||||
flat in uint _vs2fs_location0;
|
||||
flat in uint _vs2fs_location1;
|
||||
flat in uint _vs2fs_location2;
|
||||
noperspective in float _vs2fs_location3;
|
||||
noperspective centroid in vec2 _vs2fs_location4;
|
||||
noperspective sample in vec3 _vs2fs_location6;
|
||||
noperspective in vec3 _vs2fs_location7;
|
||||
smooth in vec4 _vs2fs_location8;
|
||||
smooth centroid in float _vs2fs_location9;
|
||||
smooth sample in float _vs2fs_location10;
|
||||
smooth in float _vs2fs_location11;
|
||||
|
||||
void main() {
|
||||
FragmentInput val = FragmentInput(gl_FragCoord, _vs2fs_location0, _vs2fs_location1, _vs2fs_location2, _vs2fs_location3, _vs2fs_location4, _vs2fs_location6, _vs2fs_location7, _vs2fs_location8, _vs2fs_location9, _vs2fs_location10, _vs2fs_location11);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
#version 400 core
|
||||
struct FragmentInput {
|
||||
vec4 position;
|
||||
uint _flat;
|
||||
uint flat_first;
|
||||
uint flat_either;
|
||||
float _linear;
|
||||
vec2 linear_centroid;
|
||||
vec3 linear_sample;
|
||||
vec3 linear_center;
|
||||
vec4 perspective;
|
||||
float perspective_centroid;
|
||||
float perspective_sample;
|
||||
float perspective_center;
|
||||
};
|
||||
flat out uint _vs2fs_location0;
|
||||
flat out uint _vs2fs_location1;
|
||||
flat out uint _vs2fs_location2;
|
||||
noperspective out float _vs2fs_location3;
|
||||
noperspective centroid out vec2 _vs2fs_location4;
|
||||
noperspective sample out vec3 _vs2fs_location6;
|
||||
noperspective out vec3 _vs2fs_location7;
|
||||
smooth out vec4 _vs2fs_location8;
|
||||
smooth centroid out float _vs2fs_location9;
|
||||
smooth sample out float _vs2fs_location10;
|
||||
smooth out float _vs2fs_location11;
|
||||
|
||||
void main() {
|
||||
FragmentInput out_ = FragmentInput(vec4(0.0), 0u, 0u, 0u, 0.0, vec2(0.0), vec3(0.0), vec3(0.0), vec4(0.0), 0.0, 0.0, 0.0);
|
||||
out_.position = vec4(2.0, 4.0, 5.0, 6.0);
|
||||
out_._flat = 8u;
|
||||
out_.flat_first = 9u;
|
||||
out_.flat_either = 10u;
|
||||
out_._linear = 27.0;
|
||||
out_.linear_centroid = vec2(64.0, 125.0);
|
||||
out_.linear_sample = vec3(216.0, 343.0, 512.0);
|
||||
out_.linear_center = vec3(255.0, 511.0, 1024.0);
|
||||
out_.perspective = vec4(729.0, 1000.0, 1331.0, 1728.0);
|
||||
out_.perspective_centroid = 2197.0;
|
||||
out_.perspective_sample = 2744.0;
|
||||
out_.perspective_center = 2812.0;
|
||||
FragmentInput _e41 = out_;
|
||||
gl_Position = _e41.position;
|
||||
_vs2fs_location0 = _e41._flat;
|
||||
_vs2fs_location1 = _e41.flat_first;
|
||||
_vs2fs_location2 = _e41.flat_either;
|
||||
_vs2fs_location3 = _e41._linear;
|
||||
_vs2fs_location4 = _e41.linear_centroid;
|
||||
_vs2fs_location6 = _e41.linear_sample;
|
||||
_vs2fs_location7 = _e41.linear_center;
|
||||
_vs2fs_location8 = _e41.perspective;
|
||||
_vs2fs_location9 = _e41.perspective_centroid;
|
||||
_vs2fs_location10 = _e41.perspective_sample;
|
||||
_vs2fs_location11 = _e41.perspective_center;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
#version 310 es
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
uniform highp samplerCube _group_0_binding_0_fs;
|
||||
|
||||
|
||||
void main_1() {
|
||||
ivec2 sizeCube = ivec2(0);
|
||||
float a = 1.0;
|
||||
sizeCube = ivec2(uvec2(textureSize(_group_0_binding_0_fs, 0).xy));
|
||||
return;
|
||||
}
|
||||
|
||||
void main() {
|
||||
main_1();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
(
|
||||
vertex:[
|
||||
],
|
||||
fragment:[
|
||||
],
|
||||
compute:[
|
||||
],
|
||||
)
|
||||
@@ -1,13 +0,0 @@
|
||||
@group(0) @binding(0)
|
||||
var s_r: texture_storage_2d<r32float,read>;
|
||||
@group(0) @binding(1)
|
||||
var s_rg: texture_storage_2d<rg32float,read>;
|
||||
@group(0) @binding(2)
|
||||
var s_rgba: texture_storage_2d<rgba32float,read>;
|
||||
|
||||
@compute @workgroup_size(1, 1, 1)
|
||||
fn csWithStorageUsage() {
|
||||
let phony = textureLoad(s_r, vec2(0u));
|
||||
let phony_1 = textureLoad(s_rg, vec2(0u));
|
||||
let phony_2 = textureLoad(s_rgba, vec2(0u));
|
||||
}
|
||||
Reference in new issue
Block a user