mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 08:25:16 +00:00
RSX: Return VP shader as is if no changes were made
This commit is contained in:
parent
ae39c5b8cb
commit
75dc2a12e2
7 changed files with 51 additions and 37 deletions
|
|
@ -135,13 +135,13 @@ struct GLProgramBuffer : public program_state_cache<GLTraits>
|
|||
template <typename... Args>
|
||||
void add_pipeline_entry(const RSXVertexProgram& vp, const RSXFragmentProgram& fp, void* &props, Args&& ...args)
|
||||
{
|
||||
get_graphics_pipeline(vp, fp, props, false, false, std::forward<Args>(args)...);
|
||||
get_graphics_pipeline(vp, umax, fp, umax, props, false, false, std::forward<Args>(args)...);
|
||||
}
|
||||
|
||||
void preload_programs(const RSXVertexProgram& vp, const RSXFragmentProgram& fp)
|
||||
{
|
||||
search_vertex_program(vp);
|
||||
search_fragment_program(fp);
|
||||
search_vertex_program(vp, umax);
|
||||
search_fragment_program(fp, umax);
|
||||
}
|
||||
|
||||
bool check_cache_missed() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue