- Volition VPP: Unified BE/LE types using inheritance pattern - THQA PAK: Child types now inherit byte order from parent - Various XScript definition updates and fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
402 B
Plaintext
17 lines
402 B
Plaintext
type gfxpixelshaderloaddef ui("GFX Pixel Shader Load Def")
|
|
{
|
|
// Shader program bytecode
|
|
u32 program_size ui("Program Size");
|
|
|
|
if (program_size > 0) {
|
|
program = read(program_size) ui("Program");
|
|
}
|
|
|
|
u32 micro_code_size ui("Micro Code Size");
|
|
|
|
// Note: micro_code_size is always 0 for PC platform
|
|
if (micro_code_size > 0) {
|
|
micro_code = read(micro_code_size) ui("Micro Code");
|
|
}
|
|
}
|