Also add a comment that this should only be used by the ir_reader
interface for testing purposes.
v2:
- fix grammar in comment
- use unreachable rather than assert
Reviewed-by: Thomas Helland
---
src/compiler/glsl/ir.cpp | 9 ++---
src/compiler/glsl/ir.h |
2017-08-07 2:18 GMT+00:00 Timothy Arceri :
> Also add a comment that this should only be used by the ir_reader
> interface for testing purposes.
> ---
> src/compiler/glsl/ir.cpp | 8 ++--
> src/compiler/glsl/ir.h | 14 +++---
> 2 files changed, 9
Also add a comment that this should only be used by the ir_reader
interface for testing purposes.
---
src/compiler/glsl/ir.cpp | 8 ++--
src/compiler/glsl/ir.h | 14 +++---
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/compiler/glsl/ir.cpp