Merge pull request #11538 from HyperspaceMadness/Shaders_improve_message_for_textures_not_found

Shaders_improve_message_for_textures_not_found
This commit is contained in:
Autechre 2020-11-08 18:28:44 +01:00 committed by GitHub
commit db4dd845ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -600,8 +600,10 @@ bool slang_reflect(
}
else if (index == SLANG_INVALID_TEXTURE_SEMANTIC)
{
RARCH_ERR("[slang]: Non-semantic textures not supported yet, "
"Probably a texture name or pass alias is not found. \n");
RARCH_ERR("[slang]: Texture name '%s' not found in semantic map, "
"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;
}