mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +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
|
@ -58,6 +58,8 @@ struct alignas(16) PixelShaderConstants
|
|||
// For shader_framebuffer_fetch logic ops:
|
||||
u32 logic_op_enable; // bool
|
||||
LogicOp logic_op_mode;
|
||||
// For custom shaders...
|
||||
u32 time_ms;
|
||||
};
|
||||
|
||||
struct alignas(16) VertexShaderConstants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue