---
name: a5c-ai/shader-optimization
source: https://app.decimal.ai/s/a5c-ai-shader-optimization@1/SKILL.md
source_sha256: bbe512f8a231
---

# Shader Optimization Skill

Shader performance optimization techniques.

## Overview

This skill provides capabilities for optimizing shader performance.

## Capabilities

- Instruction counting
- ALU optimization
- Texture sample reduction
- Shader variant management
- GPU profiling

## Best Practices

1. Minimize texture samples
2. Use half precision where possible
3. Avoid branching
4. Batch similar shaders
5. Profile on target hardware

## References

- Engine-specific profiling tools