mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-02 20:18:12 +00:00
metagen: simplify enum generation; reading/organization pass over raddbgi_from_pdb
This commit is contained in:
@@ -462,25 +462,22 @@ ps_main(Vertex2Pixel v2p) : SV_TARGET
|
||||
////////////////////////////////
|
||||
//~ rjf: Table Generators
|
||||
|
||||
@table_gen_enum
|
||||
R_D3D11_VShadKind:
|
||||
@enum R_D3D11_VShadKind:
|
||||
{
|
||||
@expand(R_D3D11_VShadTable a) `R_D3D11_VShadKind_$(a.name),`;
|
||||
`R_D3D11_VShadKind_COUNT`;
|
||||
@expand(R_D3D11_VShadTable a) `$(a.name)`,
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@table_gen_enum
|
||||
R_D3D11_PShadKind:
|
||||
@enum R_D3D11_PShadKind:
|
||||
{
|
||||
@expand(R_D3D11_PShadTable a) `R_D3D11_PShadKind_$(a.name),`;
|
||||
`R_D3D11_PShadKind_COUNT`;
|
||||
@expand(R_D3D11_PShadTable a) `$(a.name)`,
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@table_gen_enum
|
||||
R_D3D11_UniformTypeKind:
|
||||
@enum R_D3D11_UniformTypeKind:
|
||||
{
|
||||
@expand(R_D3D11_UniformTypeTable a) `R_D3D11_UniformTypeKind_$(a.name),`;
|
||||
`R_D3D11_UniformTypeKind_COUNT`;
|
||||
@expand(R_D3D11_UniformTypeTable a) `$(a.name)`,
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@c_file @table_gen_data(type:String8, fallback:`{0}`)
|
||||
|
||||
Reference in New Issue
Block a user