mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Increased Slang Max Params, Textures & Passes
This commit is contained in:
parent
79cc4f9c4f
commit
7c6bb925c4
@ -600,7 +600,8 @@ bool slang_reflect(
|
|||||||
}
|
}
|
||||||
else if (index == SLANG_INVALID_TEXTURE_SEMANTIC)
|
else if (index == SLANG_INVALID_TEXTURE_SEMANTIC)
|
||||||
{
|
{
|
||||||
RARCH_ERR("[slang]: Non-semantic textures not supported yet.\n");
|
RARCH_ERR("[slang]: Non-semantic textures not supported yet, "
|
||||||
|
"Probably a texture name or pass alias is not found. \n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ enum slang_constant_buffer
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Vulkan minimum limit. */
|
/* Vulkan minimum limit. */
|
||||||
#define SLANG_NUM_BINDINGS 16
|
#define SLANG_NUM_BINDINGS 32
|
||||||
|
|
||||||
struct slang_texture_semantic_map
|
struct slang_texture_semantic_map
|
||||||
{
|
{
|
||||||
|
@ -26,11 +26,11 @@
|
|||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef GFX_MAX_SHADERS
|
#ifndef GFX_MAX_SHADERS
|
||||||
#define GFX_MAX_SHADERS 26
|
#define GFX_MAX_SHADERS 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GFX_MAX_TEXTURES
|
#ifndef GFX_MAX_TEXTURES
|
||||||
#define GFX_MAX_TEXTURES 8
|
#define GFX_MAX_TEXTURES 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GFX_MAX_VARIABLES
|
#ifndef GFX_MAX_VARIABLES
|
||||||
@ -38,7 +38,7 @@ RETRO_BEGIN_DECLS
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GFX_MAX_PARAMETERS
|
#ifndef GFX_MAX_PARAMETERS
|
||||||
#define GFX_MAX_PARAMETERS 128
|
#define GFX_MAX_PARAMETERS 256
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GFX_MAX_FRAME_HISTORY
|
#ifndef GFX_MAX_FRAME_HISTORY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user