HLSLCompiler: fix an infinite loop when failing to compile
When compiling shaders that produce errors X3531 or X4014 even when macros
is nullptr, we would try the same permutation infinitely.
BUG=524297
Change-Id: Id2a26ce2a5344bff4566440342adad5031368994
Reviewed-on: https://chromium-review.googlesource.com/296441Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Tested-by:
Corentin Wallez <cwallez@chromium.org>
Showing
Please
register
or
sign in
to comment