Shaders_improve_message_for_textures_not_found

This commit is contained in:
HyperspaceMadness 2020-11-08 12:21:09 -05:00
parent 8ababb3973
commit e6ee8818af

View File

@ -600,8 +600,10 @@ 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, " RARCH_ERR("[slang]: Texture name '%s' not found in semantic map, "
"Probably a texture name or pass alias is not found. \n"); "Probably the texture name or pass alias is not defined "
"in the preset (Non-semantic textures not supported yet)\n",
fragment.sampled_images[i].name.c_str());
return false; return false;
} }