PixelShaderGen: Migrate over to fmt

Continues the migration of the shader generators over to fmt.

After this, all that remains in the Ubershader pixel generator.
This commit is contained in:
Lioncash 2020-10-20 14:42:54 -04:00
parent dc5ae5ee66
commit 5de2244acf
2 changed files with 424 additions and 399 deletions

File diff suppressed because it is too large Load Diff

View File

@ -164,10 +164,10 @@ struct pixel_shader_uid_data
using PixelShaderUid = ShaderUid<pixel_shader_uid_data>;
ShaderCode GeneratePixelShaderCode(APIType ApiType, const ShaderHostConfig& host_config,
ShaderCode GeneratePixelShaderCode(APIType api_type, const ShaderHostConfig& host_config,
const pixel_shader_uid_data* uid_data);
void WritePixelShaderCommonHeader(ShaderCode& out, APIType ApiType, u32 num_texgens,
void WritePixelShaderCommonHeader(ShaderCode& out, APIType api_type, u32 num_texgens,
const ShaderHostConfig& host_config, bool bounding_box);
void ClearUnusedPixelShaderUidBits(APIType ApiType, const ShaderHostConfig& host_config,
void ClearUnusedPixelShaderUidBits(APIType api_type, const ShaderHostConfig& host_config,
PixelShaderUid* uid);
PixelShaderUid GetPixelShaderUid();