PixelShaderGen: Move header generation to seperate function

This commit is contained in:
Stenzek
2017-07-20 14:15:07 +10:00
parent c783cd2aaf
commit 07591e7d5c
2 changed files with 48 additions and 40 deletions

View File

@ -159,4 +159,6 @@ typedef ShaderUid<pixel_shader_uid_data> PixelShaderUid;
ShaderCode GeneratePixelShaderCode(APIType ApiType, const ShaderHostConfig& host_config,
const pixel_shader_uid_data* uid_data);
void WritePixelShaderCommonHeader(ShaderCode& out, APIType ApiType, bool bounding_box);
ShaderCode GeneratePixelShaderCode(APIType ApiType, const pixel_shader_uid_data* uid_data);
PixelShaderUid GetPixelShaderUid();