mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 23:34:29 +00:00
522 lines
16 KiB
Plaintext
522 lines
16 KiB
Plaintext
---
|
|
source: tests/snapshots.rs
|
|
expression: output
|
|
---
|
|
(
|
|
functions: [
|
|
(
|
|
flags: (
|
|
bits: 15,
|
|
),
|
|
available_stages: (
|
|
bits: 7,
|
|
),
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
may_kill: false,
|
|
sampling_set: [],
|
|
global_uses: [
|
|
(
|
|
bits: 0,
|
|
),
|
|
],
|
|
expressions: [
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 0,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 3,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(2),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 7,
|
|
assignable_global: None,
|
|
ty: Value(Pointer(
|
|
base: 1,
|
|
class: Function,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 0,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 3,
|
|
assignable_global: None,
|
|
ty: Value(Pointer(
|
|
base: 1,
|
|
class: Function,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Bool,
|
|
width: 1,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Bool,
|
|
width: 1,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(3),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: None,
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
],
|
|
),
|
|
],
|
|
entry_points: [
|
|
(
|
|
flags: (
|
|
bits: 15,
|
|
),
|
|
available_stages: (
|
|
bits: 7,
|
|
),
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
may_kill: false,
|
|
sampling_set: [],
|
|
global_uses: [
|
|
(
|
|
bits: 3,
|
|
),
|
|
],
|
|
expressions: [
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 2,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 3,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(2),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 2,
|
|
assignable_global: None,
|
|
ty: Handle(4),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 2,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(2),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 1,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 2,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(2),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Value(Scalar(
|
|
kind: Uint,
|
|
width: 4,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: Some(1),
|
|
ty: Value(Pointer(
|
|
base: 1,
|
|
class: Storage,
|
|
)),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(1),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
(
|
|
uniformity: (
|
|
non_uniform_result: Some(5),
|
|
requirements: (
|
|
bits: 0,
|
|
),
|
|
),
|
|
ref_count: 1,
|
|
assignable_global: None,
|
|
ty: Handle(1),
|
|
),
|
|
],
|
|
),
|
|
],
|
|
layouter: (
|
|
layouts: [
|
|
(
|
|
size: 4,
|
|
alignment: 4,
|
|
),
|
|
(
|
|
size: 4,
|
|
alignment: 4,
|
|
),
|
|
(
|
|
size: 4,
|
|
alignment: 4,
|
|
),
|
|
(
|
|
size: 12,
|
|
alignment: 16,
|
|
),
|
|
],
|
|
),
|
|
)
|