GPU Parity Standards

Community

Ensure GPU and CPU code consistency.

Authortrioskosmos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the critical challenge of maintaining bit-level parity between the Rust Game Engine and its WGSL GPU Shader, preventing subtle bugs and ensuring consistent behavior across platforms.

Core Features & Use Cases

  • Memory Layout Synchronization: Enforces identical struct layouts between Rust and WGSL using #[repr(C)] and proper alignment.
  • Opcode and Condition Sync: Manages the synchronization of opcodes and conditions between the CPU and GPU logic via metadata updates and script execution.
  • Automated Testing Harness: Provides a GpuParityHarness to easily port and verify CPU tests on the GPU, automating the parity check process.
  • Use Case: When developing new game logic, this Skill ensures that any new opcodes or state changes implemented in the Rust engine are accurately reflected and functional on the GPU, preventing visual glitches or incorrect game mechanics.

Quick Start

Use the gpu_parity_standards skill to verify the memory layout between Rust and WGSL.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: GPU Parity Standards
Download link: https://github.com/trioskosmos/rabukasim/archive/main.zip#gpu-parity-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.