PSSL ファイル形式とは?
.pssl ファイルには、PlayStation 4 および PlayStation 5 開発用の Sony 独自のシェーディング言語である PlayStation Shader Language で記述されたコードが含まれています。Sony は PS4 と共に PSSL を導入し、GDC Europe 2013 で発表しました。これは GPU をプログラミングして、ゲーム内のライティング、シェーディング、その他の視覚効果を生成するために使用されます。
PSSL は C++ に似た構文を使用しており、Direct3D で使用されるシェーダー言語である Microsoft の .hlsl に非常に近い設計になっています。これら 2 つは十分に似ているため、PC とコンソールの両方でリリースするスタジオは、シェーダーコードの多くを共有し、残りの差異をプリプロセッサマクロで埋めることができます。この言語は、頂点、ピクセル、ジオメトリ、コンピュートシェーダーをカバーしており、静的および動的な制御フローの両方をサポートしています。
テキスト形式の .pssl ファイルは、読み取り可能なソースです。これは、Sony が LLVM および Clang をベースに構築した PlayStation SDK 内のシェーダーコンパイラによって、コンソール GPU バイナリにコンパイルされます。これらのバイナリは、Direct3D 12 および Direct3D 11 の PlayStation 版に相当する GNM および GNMX グラフィックス API に供給されます。
セキュリティと安全性
リスク: 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.
形式の詳細
概要- 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.
PSSL ファイルを開くプログラム
技術的詳細
詳細仕様| 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. |
| リリース日 | 2013 |
| 仕様書 | en.wikipedia.org |
PSSL の変換
コミュニティ Q&A
ユーザーからの質問まだ質問はありません。PSSL ファイルについて最初の質問をしてみましょう。
よくある質問
PSSL ファイルとは何ですか?
.pssl ファイルは読み取り可能なソースコードを保持し、SDK がそれらをコンソール GPU バイナリにコンパイルします。PSSL ファイルを開くにはどうすればよいですか?
自分で PSSL ファイルをコンパイルできますか?
PSSL は HLSL と同じですか?
PSSL ファイルを開いても安全ですか?
.pssl ファイルは単なるソースコードであり、デスクトップコンピュータ上で実行されることはありません。未知のソースからのコードと同様に、信頼する前に内容を確認すべきですが、フォーマット自体は危険なものではありません。