mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-10 23:45:16 +01:00
gl: Fix shader interpreter compilation
This commit is contained in:
parent
63a379b474
commit
0a26357fc9
|
|
@ -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…
Reference in a new issue