mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
Migrate more tests from Ignore() to phony-assignment
The `Ignore()` intrinsic is about to be deprecated, so don't use it for testing. Bug: tint:1213 Change-Id: I314ecaeb9a9c337c7b6980189054120a74807ebd Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67066 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
cc7c4f309b
commit
c2fa68e551
@@ -3,6 +3,6 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(s);
|
||||
ignore(sc);
|
||||
_ = s;
|
||||
_ = sc;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,5 @@ SamplerComparisonState sc : register(s1, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
s;
|
||||
sc;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(sampler tint_symbol_1 [[sampler(0)]], sampler tint_symbol_2 [[sampler(1)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 12
|
||||
; Bound: 10
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(s);
|
||||
ignore(sc);
|
||||
_ = s;
|
||||
_ = sc;
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,5 @@ Texture2D t_f : register(t0, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(depth2d<float, access::sample> tint_symbol_1 [[texture(0)]]) {
|
||||
(void) tint_symbol_1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 10
|
||||
; Bound: 9
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,5 @@ Texture2DArray t_f : register(t0, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(depth2d_array<float, access::sample> tint_symbol_1 [[texture(0)]]) {
|
||||
(void) tint_symbol_1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 10
|
||||
; Bound: 9
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,5 @@ TextureCube t_f : register(t0, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(depthcube<float, access::sample> tint_symbol_1 [[texture(0)]]) {
|
||||
(void) tint_symbol_1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 10
|
||||
; Bound: 9
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,5 @@ TextureCubeArray t_f : register(t0, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(depthcube_array<float, access::sample> tint_symbol_1 [[texture(0)]]) {
|
||||
(void) tint_symbol_1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 10
|
||||
; Bound: 9
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability SampledCubeArray
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ Texture2DMS<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture2d_ms<float, access::read> tint_symbol_1 [[texture(0)]], texture2d_ms<int, access::read> tint_symbol_2 [[texture(1)]], texture2d_ms<uint, access::read> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ Texture1D<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture1d<float, access::sample> tint_symbol_1 [[texture(0)]], texture1d<int, access::sample> tint_symbol_2 [[texture(1)]], texture1d<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability Sampled1D
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ Texture2D<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture2d<float, access::sample> tint_symbol_1 [[texture(0)]], texture2d<int, access::sample> tint_symbol_2 [[texture(1)]], texture2d<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ Texture2DArray<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture2d_array<float, access::sample> tint_symbol_1 [[texture(0)]], texture2d_array<int, access::sample> tint_symbol_2 [[texture(1)]], texture2d_array<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ Texture3D<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture3d<float, access::sample> tint_symbol_1 [[texture(0)]], texture3d<int, access::sample> tint_symbol_2 [[texture(1)]], texture3d<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ TextureCube<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texturecube<float, access::sample> tint_symbol_1 [[texture(0)]], texturecube<int, access::sample> tint_symbol_2 [[texture(1)]], texturecube<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,5 @@ TextureCubeArray<uint4> t_u : register(t2, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_f;
|
||||
t_i;
|
||||
t_u;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texturecube_array<float, access::sample> tint_symbol_1 [[texture(0)]], texturecube_array<int, access::sample> tint_symbol_2 [[texture(1)]], texturecube_array<uint, access::sample> tint_symbol_3 [[texture(2)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 20
|
||||
; Bound: 17
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability SampledCubeArray
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_f);
|
||||
ignore(t_i);
|
||||
ignore(t_u);
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
_ = t_u;
|
||||
}
|
||||
|
||||
@@ -17,20 +17,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,21 +17,5 @@ RWTexture1D<float4> t_rgba32float : register(u15, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_rgba8unorm;
|
||||
t_rgba8snorm;
|
||||
t_rgba8uint;
|
||||
t_rgba8sint;
|
||||
t_rgba16uint;
|
||||
t_rgba16sint;
|
||||
t_rgba16float;
|
||||
t_r32uint;
|
||||
t_r32sint;
|
||||
t_r32float;
|
||||
t_rg32uint;
|
||||
t_rg32sint;
|
||||
t_rg32float;
|
||||
t_rgba32uint;
|
||||
t_rgba32sint;
|
||||
t_rgba32float;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,22 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture1d<float, access::write> tint_symbol_1 [[texture(0)]], texture1d<float, access::write> tint_symbol_2 [[texture(1)]], texture1d<uint, access::write> tint_symbol_3 [[texture(2)]], texture1d<int, access::write> tint_symbol_4 [[texture(3)]], texture1d<uint, access::write> tint_symbol_5 [[texture(4)]], texture1d<int, access::write> tint_symbol_6 [[texture(5)]], texture1d<float, access::write> tint_symbol_7 [[texture(6)]], texture1d<uint, access::write> tint_symbol_8 [[texture(7)]], texture1d<int, access::write> tint_symbol_9 [[texture(8)]], texture1d<float, access::write> tint_symbol_10 [[texture(9)]], texture1d<uint, access::write> tint_symbol_11 [[texture(10)]], texture1d<int, access::write> tint_symbol_12 [[texture(11)]], texture1d<float, access::write> tint_symbol_13 [[texture(12)]], texture1d<uint, access::write> tint_symbol_14 [[texture(13)]], texture1d<int, access::write> tint_symbol_15 [[texture(14)]], texture1d<float, access::write> tint_symbol_16 [[texture(15)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
(void) tint_symbol_4;
|
||||
(void) tint_symbol_5;
|
||||
(void) tint_symbol_6;
|
||||
(void) tint_symbol_7;
|
||||
(void) tint_symbol_8;
|
||||
(void) tint_symbol_9;
|
||||
(void) tint_symbol_10;
|
||||
(void) tint_symbol_11;
|
||||
(void) tint_symbol_12;
|
||||
(void) tint_symbol_13;
|
||||
(void) tint_symbol_14;
|
||||
(void) tint_symbol_15;
|
||||
(void) tint_symbol_16;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 72
|
||||
; Bound: 56
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability Image1D
|
||||
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,20 +17,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,21 +17,5 @@ RWTexture2D<float4> t_rgba32float : register(u15, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_rgba8unorm;
|
||||
t_rgba8snorm;
|
||||
t_rgba8uint;
|
||||
t_rgba8sint;
|
||||
t_rgba16uint;
|
||||
t_rgba16sint;
|
||||
t_rgba16float;
|
||||
t_r32uint;
|
||||
t_r32sint;
|
||||
t_r32float;
|
||||
t_rg32uint;
|
||||
t_rg32sint;
|
||||
t_rg32float;
|
||||
t_rgba32uint;
|
||||
t_rgba32sint;
|
||||
t_rgba32float;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,22 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture2d<float, access::write> tint_symbol_1 [[texture(0)]], texture2d<float, access::write> tint_symbol_2 [[texture(1)]], texture2d<uint, access::write> tint_symbol_3 [[texture(2)]], texture2d<int, access::write> tint_symbol_4 [[texture(3)]], texture2d<uint, access::write> tint_symbol_5 [[texture(4)]], texture2d<int, access::write> tint_symbol_6 [[texture(5)]], texture2d<float, access::write> tint_symbol_7 [[texture(6)]], texture2d<uint, access::write> tint_symbol_8 [[texture(7)]], texture2d<int, access::write> tint_symbol_9 [[texture(8)]], texture2d<float, access::write> tint_symbol_10 [[texture(9)]], texture2d<uint, access::write> tint_symbol_11 [[texture(10)]], texture2d<int, access::write> tint_symbol_12 [[texture(11)]], texture2d<float, access::write> tint_symbol_13 [[texture(12)]], texture2d<uint, access::write> tint_symbol_14 [[texture(13)]], texture2d<int, access::write> tint_symbol_15 [[texture(14)]], texture2d<float, access::write> tint_symbol_16 [[texture(15)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
(void) tint_symbol_4;
|
||||
(void) tint_symbol_5;
|
||||
(void) tint_symbol_6;
|
||||
(void) tint_symbol_7;
|
||||
(void) tint_symbol_8;
|
||||
(void) tint_symbol_9;
|
||||
(void) tint_symbol_10;
|
||||
(void) tint_symbol_11;
|
||||
(void) tint_symbol_12;
|
||||
(void) tint_symbol_13;
|
||||
(void) tint_symbol_14;
|
||||
(void) tint_symbol_15;
|
||||
(void) tint_symbol_16;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 72
|
||||
; Bound: 56
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability StorageImageExtendedFormats
|
||||
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,20 +17,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,21 +17,5 @@ RWTexture2DArray<float4> t_rgba32float : register(u15, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_rgba8unorm;
|
||||
t_rgba8snorm;
|
||||
t_rgba8uint;
|
||||
t_rgba8sint;
|
||||
t_rgba16uint;
|
||||
t_rgba16sint;
|
||||
t_rgba16float;
|
||||
t_r32uint;
|
||||
t_r32sint;
|
||||
t_r32float;
|
||||
t_rg32uint;
|
||||
t_rg32sint;
|
||||
t_rg32float;
|
||||
t_rgba32uint;
|
||||
t_rgba32sint;
|
||||
t_rgba32float;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,22 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture2d_array<float, access::write> tint_symbol_1 [[texture(0)]], texture2d_array<float, access::write> tint_symbol_2 [[texture(1)]], texture2d_array<uint, access::write> tint_symbol_3 [[texture(2)]], texture2d_array<int, access::write> tint_symbol_4 [[texture(3)]], texture2d_array<uint, access::write> tint_symbol_5 [[texture(4)]], texture2d_array<int, access::write> tint_symbol_6 [[texture(5)]], texture2d_array<float, access::write> tint_symbol_7 [[texture(6)]], texture2d_array<uint, access::write> tint_symbol_8 [[texture(7)]], texture2d_array<int, access::write> tint_symbol_9 [[texture(8)]], texture2d_array<float, access::write> tint_symbol_10 [[texture(9)]], texture2d_array<uint, access::write> tint_symbol_11 [[texture(10)]], texture2d_array<int, access::write> tint_symbol_12 [[texture(11)]], texture2d_array<float, access::write> tint_symbol_13 [[texture(12)]], texture2d_array<uint, access::write> tint_symbol_14 [[texture(13)]], texture2d_array<int, access::write> tint_symbol_15 [[texture(14)]], texture2d_array<float, access::write> tint_symbol_16 [[texture(15)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
(void) tint_symbol_4;
|
||||
(void) tint_symbol_5;
|
||||
(void) tint_symbol_6;
|
||||
(void) tint_symbol_7;
|
||||
(void) tint_symbol_8;
|
||||
(void) tint_symbol_9;
|
||||
(void) tint_symbol_10;
|
||||
(void) tint_symbol_11;
|
||||
(void) tint_symbol_12;
|
||||
(void) tint_symbol_13;
|
||||
(void) tint_symbol_14;
|
||||
(void) tint_symbol_15;
|
||||
(void) tint_symbol_16;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 72
|
||||
; Bound: 56
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability StorageImageExtendedFormats
|
||||
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,20 +17,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
@@ -17,21 +17,5 @@ RWTexture3D<float4> t_rgba32float : register(u15, space0);
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
t_rgba8unorm;
|
||||
t_rgba8snorm;
|
||||
t_rgba8uint;
|
||||
t_rgba8sint;
|
||||
t_rgba16uint;
|
||||
t_rgba16sint;
|
||||
t_rgba16float;
|
||||
t_r32uint;
|
||||
t_r32sint;
|
||||
t_r32float;
|
||||
t_rg32uint;
|
||||
t_rg32sint;
|
||||
t_rg32float;
|
||||
t_rgba32uint;
|
||||
t_rgba32sint;
|
||||
t_rgba32float;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2,22 +2,6 @@
|
||||
|
||||
using namespace metal;
|
||||
kernel void tint_symbol(texture3d<float, access::write> tint_symbol_1 [[texture(0)]], texture3d<float, access::write> tint_symbol_2 [[texture(1)]], texture3d<uint, access::write> tint_symbol_3 [[texture(2)]], texture3d<int, access::write> tint_symbol_4 [[texture(3)]], texture3d<uint, access::write> tint_symbol_5 [[texture(4)]], texture3d<int, access::write> tint_symbol_6 [[texture(5)]], texture3d<float, access::write> tint_symbol_7 [[texture(6)]], texture3d<uint, access::write> tint_symbol_8 [[texture(7)]], texture3d<int, access::write> tint_symbol_9 [[texture(8)]], texture3d<float, access::write> tint_symbol_10 [[texture(9)]], texture3d<uint, access::write> tint_symbol_11 [[texture(10)]], texture3d<int, access::write> tint_symbol_12 [[texture(11)]], texture3d<float, access::write> tint_symbol_13 [[texture(12)]], texture3d<uint, access::write> tint_symbol_14 [[texture(13)]], texture3d<int, access::write> tint_symbol_15 [[texture(14)]], texture3d<float, access::write> tint_symbol_16 [[texture(15)]]) {
|
||||
(void) tint_symbol_1;
|
||||
(void) tint_symbol_2;
|
||||
(void) tint_symbol_3;
|
||||
(void) tint_symbol_4;
|
||||
(void) tint_symbol_5;
|
||||
(void) tint_symbol_6;
|
||||
(void) tint_symbol_7;
|
||||
(void) tint_symbol_8;
|
||||
(void) tint_symbol_9;
|
||||
(void) tint_symbol_10;
|
||||
(void) tint_symbol_11;
|
||||
(void) tint_symbol_12;
|
||||
(void) tint_symbol_13;
|
||||
(void) tint_symbol_14;
|
||||
(void) tint_symbol_15;
|
||||
(void) tint_symbol_16;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 72
|
||||
; Bound: 56
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpCapability StorageImageExtendedFormats
|
||||
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
fn main() {
|
||||
ignore(t_rgba8unorm);
|
||||
ignore(t_rgba8snorm);
|
||||
ignore(t_rgba8uint);
|
||||
ignore(t_rgba8sint);
|
||||
ignore(t_rgba16uint);
|
||||
ignore(t_rgba16sint);
|
||||
ignore(t_rgba16float);
|
||||
ignore(t_r32uint);
|
||||
ignore(t_r32sint);
|
||||
ignore(t_r32float);
|
||||
ignore(t_rg32uint);
|
||||
ignore(t_rg32sint);
|
||||
ignore(t_rg32float);
|
||||
ignore(t_rgba32uint);
|
||||
ignore(t_rgba32sint);
|
||||
ignore(t_rgba32float);
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
_ = t_rgba8uint;
|
||||
_ = t_rgba8sint;
|
||||
_ = t_rgba16uint;
|
||||
_ = t_rgba16sint;
|
||||
_ = t_rgba16float;
|
||||
_ = t_r32uint;
|
||||
_ = t_r32sint;
|
||||
_ = t_r32float;
|
||||
_ = t_rg32uint;
|
||||
_ = t_rg32sint;
|
||||
_ = t_rg32float;
|
||||
_ = t_rgba32uint;
|
||||
_ = t_rgba32sint;
|
||||
_ = t_rgba32float;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user