What is the PSSL file format?
A .pssl file contains code written in the PlayStation Shader Language, Sony's shading language for PlayStation 4 and PlayStation 5 development. Sony introduced PSSL alongside the PS4 and presented it at GDC Europe 2013. It programs the GPU to produce lighting, shading, and other visual effects inside a game.
PSSL uses a C++-like syntax and stays close to Microsoft's .hlsl, the shader language used by Direct3D. The two are similar enough that studios shipping on both PC and console can share much of their shader code and bridge the remaining gaps with preprocessor macros. The language covers vertex, pixel, geometry, and compute shaders, and it supports both static and dynamic control flow.
A text .pssl file is readable source. It is compiled into console GPU binaries by a shader compiler in the PlayStation SDK, which Sony builds on LLVM and Clang. Those binaries then feed the GNM and GNMX graphics APIs, roughly the PlayStation counterparts to Direct3D 12 and Direct3D 11.
Security & safety
RISK: LOWText-based .pssl files are plain source code and cannot execute on their own, so they carry no inherent malware risk. Compiled PSSL shader binaries only run on PlayStation GPUs through the console runtime. Treat any .pssl file from an unknown source with the same caution as any downloaded code, but the format itself is not an executable delivery vector on a desktop PC.
Format details
in a nutshell- Generic shader source - Some older references treat .pssl generically as a shader source file; on PlayStation platforms it specifically means PlayStation Shader Language.
- Unrelated tooling strings - Rare, non-standard uses of the four-letter string 'pssl' appear in unrelated software but are not an established file type.
Programs that open PSSL files
Technical details
deep spec| Encoding | ASCII / UTF-8 text for source files |
| Byte order | N/A (text source); little-endian for compiled console binaries |
| Container | Plain text source; compiled form is a proprietary GPU microcode container |
| Compression | None for source |
| Encryption | None for source (retail game shader data may be packed/encrypted inside title assets) |
| Language Basis | C++-like syntax, closely modeled on Microsoft HLSL |
| Shader Stages | Vertex, pixel (fragment), geometry, and compute shaders |
| Control Flow | Supports both static and dynamic control flow |
| Toolchain | Compiled with a Sony PS4/PS5 SDK compiler based on LLVM and Clang |
| Graphics Apis | Used with the PlayStation GNM (low-level) and GNMX (high-level) graphics APIs |
| Platforms | PlayStation 4, PlayStation 5, Windows (SDK development host) |
| Structure | A .pssl source file declares shader entry points, resource bindings, and functions using HLSL-like semantics and intrinsics, then is compiled to GPU-native binary by the console SDK. |
| Notes | The PS4/PS5 SDK, its GNM/GNMX documentation, and the exact PSSL grammar are confidential and available only to licensed developers under NDA. |
| Released | 2013 |
| Specification | en.wikipedia.org |
PSSL conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about PSSL files.
Frequently asked questions
What is a PSSL file?
.pssl files hold readable source code; the SDK compiles them to console GPU binaries.How do I open a PSSL file?
Can I compile a PSSL file myself?
Is PSSL the same as HLSL?
Are PSSL files safe to open?
.pssl files are plain source code and do not execute on a desktop computer. As with any code from an unknown source, read before you trust it, but the format itself is not dangerous.