ConstantManager: Add logic ops to PixelShaderConstants

This commit is contained in:
OatmealDome 2021-08-02 23:39:34 -04:00
parent 8e72136eeb
commit 04ec02c06b
3 changed files with 16 additions and 0 deletions

View file

@ -423,6 +423,8 @@ void WritePixelShaderCommonHeader(ShaderCode& out, APIType api_type,
"\tuint blend_dst_factor_alpha;\n"
"\tbool blend_subtract;\n"
"\tbool blend_subtract_alpha;\n"
"\tbool logic_op_enable;\n"
"\tuint logic_op_mode;\n"
"}};\n\n");
out.Write("#define bpmem_combiners(i) (bpmem_pack1[(i)].xy)\n"
"#define bpmem_tevind(i) (bpmem_pack1[(i)].z)\n"