Merge pull request #10973 from HyperspaceMadness/master

Increased Slang Max Params, Textures & Passes
This commit is contained in:
Autechre 2020-07-07 12:07:00 +02:00 committed by GitHub
commit 6df4e7778f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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