Increased Slang Max Params, Textures & Passes

This commit is contained in:
HyperspaceMadness 2020-07-05 13:45:58 -04:00
parent 79cc4f9c4f
commit 7c6bb925c4
3 changed files with 6 additions and 5 deletions

View File

@ -600,7 +600,8 @@ bool slang_reflect(
}
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;
}

View File

@ -93,7 +93,7 @@ enum slang_constant_buffer
};
/* Vulkan minimum limit. */
#define SLANG_NUM_BINDINGS 16
#define SLANG_NUM_BINDINGS 32
struct slang_texture_semantic_map
{

View File

@ -26,11 +26,11 @@
RETRO_BEGIN_DECLS
#ifndef GFX_MAX_SHADERS
#define GFX_MAX_SHADERS 26
#define GFX_MAX_SHADERS 64
#endif
#ifndef GFX_MAX_TEXTURES
#define GFX_MAX_TEXTURES 8
#define GFX_MAX_TEXTURES 16
#endif
#ifndef GFX_MAX_VARIABLES
@ -38,7 +38,7 @@ RETRO_BEGIN_DECLS
#endif
#ifndef GFX_MAX_PARAMETERS
#define GFX_MAX_PARAMETERS 128
#define GFX_MAX_PARAMETERS 256
#endif
#ifndef GFX_MAX_FRAME_HISTORY