Commit de31618
committed
Add 7 new difftests and push constants support
New tests:
- bitwise_ops: bit manipulation operations
- trig_ops: trigonometric functions
- control_flow_complex: nested loops and complex control flow
- vector_swizzle: vector component access and swizzling
- memory_barriers: workgroup memory synchronization
- vector_extract_insert: dynamic vector element access
- push_constants: push constants in compute shaders
Infrastructure changes:
- Add WgpuComputeTestPushConstants for push constant support
- Enable PUSH_CONSTANTS feature in wgpu when needed
- Register all existing unregistered tests in workspace1 parent 3d5e301 commit de31618
90 files changed
Lines changed: 4371 additions & 4 deletions
File tree
- tests/difftests
- lib/src/scaffold/compute
- tests
- arch
- atomic_ops
- atomic_ops-rust
- src
- atomic_ops-wgsl
- src
- memory_barriers
- memory_barriers-rust
- src
- memory_barriers-wgsl
- src
- push_constants
- push_constants-rust
- src
- push_constants-wgsl
- src
- vector_extract_insert
- vector_extract_insert-rust
- src
- vector_extract_insert-wgsl
- src
- workgroup_memory
- workgroup_memory-rust
- src
- workgroup_memory-wgsl
- src
- lang
- control_flow_complex
- control_flow_complex-rust
- src
- control_flow_complex-wgsl
- src
- control_flow
- control_flow-rust
- src
- control_flow-wgsl
- src
- core/ops
- bitwise_ops
- bitwise_ops-rust
- src
- bitwise_ops-wgsl
- src
- math_ops
- math_ops-rust
- src
- math_ops-wgsl
- src
- matrix_ops
- matrix_ops-rust
- src
- matrix_ops-wgsl
- src
- trig_ops
- trig_ops-rust
- src
- trig_ops-wgsl
- src
- vector_ops
- vector_ops-rust
- src
- vector_ops-wgsl
- src
- vector_swizzle
- vector_swizzle-rust
- src
- vector_swizzle-wgsl
- src
- storage_class/array_access
- array_access-rust
- src
- array_access-wgsl
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments