mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
rsx: Move SPIRV stuff into common code
This commit is contained in:
parent
afcfd81496
commit
4594c912a6
13 changed files with 238 additions and 191 deletions
|
|
@ -118,7 +118,7 @@ namespace glsl
|
|||
|
||||
void insert_vertex_input_fetch(std::stringstream& OS, glsl_rules rules, bool glsl4_compliant)
|
||||
{
|
||||
std::string vertex_id_name = (rules != glsl_rules_spirv) ? "gl_VertexID" : "gl_VertexIndex";
|
||||
std::string vertex_id_name = (rules != glsl_rules_vulkan) ? "gl_VertexID" : "gl_VertexIndex";
|
||||
|
||||
// Actually decode a vertex attribute from a raw byte stream
|
||||
program_common::define_glsl_constants<int>(OS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue