mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
gl: Fix shader interpreter compilation
This commit is contained in:
parent
63a379b474
commit
0a26357fc9
2 changed files with 2 additions and 0 deletions
|
|
@ -300,6 +300,7 @@ namespace gl
|
|||
}
|
||||
|
||||
builder << "\n"
|
||||
"#undef TEX_PARAM\n"
|
||||
"#define TEX_PARAM(index) texture_parameters[index + texture_base_index]\n"
|
||||
"#define IS_TEXTURE_RESIDENT(index) (texture_handles[index] < 0xFF)\n"
|
||||
"#define SAMPLER1D(index) sampler1D_array[texture_handles[index]]\n"
|
||||
|
|
|
|||
|
|
@ -264,6 +264,7 @@ namespace vk
|
|||
}
|
||||
|
||||
builder << "\n"
|
||||
"#undef TEX_PARAM\n"
|
||||
"#define TEX_PARAM(index) texture_parameters[index + texture_base_index]\n"
|
||||
"#define IS_TEXTURE_RESIDENT(index) true\n"
|
||||
"#define SAMPLER1D(index) sampler1D_array[index]\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue