mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-17 07:41:39 +00:00
VideoCommon: add milliseconds elapsed time value to pixel shaders as a uniform to be able to support animation effects in custom shaders
This commit is contained in:
parent
675544ec2b
commit
931a8aa413
7 changed files with 24 additions and 1 deletions
|
@ -447,5 +447,6 @@ void WriteCustomShaderStructDef(ShaderCode* out, u32 numtexgens)
|
|||
out->Write("\tCustomShaderTevStage[16] tev_stages;\n");
|
||||
out->Write("\tuint tev_stage_count;\n");
|
||||
out->Write("\tfloat4 final_color;\n");
|
||||
out->Write("\tuint time_ms;\n");
|
||||
out->Write("}};\n\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue