mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
VideoCommon: return code/uid from shader gens
rather than passing in non-const references
This commit is contained in:
parent
c04358fbe2
commit
71d1eb3c31
10 changed files with 48 additions and 60 deletions
|
@ -60,5 +60,5 @@ struct vertex_shader_uid_data
|
|||
|
||||
typedef ShaderUid<vertex_shader_uid_data> VertexShaderUid;
|
||||
|
||||
void GetVertexShaderUid(VertexShaderUid& object, API_TYPE api_type);
|
||||
void GenerateVertexShaderCode(ShaderCode& object, API_TYPE api_type);
|
||||
VertexShaderUid GetVertexShaderUid(API_TYPE api_type);
|
||||
ShaderCode GenerateVertexShaderCode(API_TYPE api_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue