Cleanups
This commit is contained in:
parent
8dbe653e9f
commit
d8498d0de7
|
@ -497,11 +497,13 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
#if defined(HAVE_SLANG) && defined(HAVE_SPIRV_CROSS)
|
#if defined(HAVE_SLANG) && defined(HAVE_SPIRV_CROSS)
|
||||||
/* First try to use the more robust slang implementation to support #includes. */
|
/* First try to use the more robust slang
|
||||||
/* FIXME: The check for slang can be removed if it's sufficiently tested for
|
* implementation to support #includes. */
|
||||||
|
/* FIXME: The check for slang can be removed
|
||||||
|
* if it's sufficiently tested for
|
||||||
* GLSL/Cg as well, it should be the same implementation. */
|
* GLSL/Cg as well, it should be the same implementation. */
|
||||||
if (string_is_equal(path_get_extension(path), "slang") &&
|
if (string_is_equal(path_get_extension(path), "slang") &&
|
||||||
slang_preprocess_parse_parameters(shader->pass[i].source.path, shader))
|
slang_preprocess_parse_parameters(path, shader))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* If that doesn't work, fallback to the old path.
|
/* If that doesn't work, fallback to the old path.
|
||||||
|
|
Loading…
Reference in New Issue