diff options
author | Jason Ekstrand <[email protected]> | 2018-10-18 15:18:30 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-26 11:45:29 -0500 |
commit | 28bb6abd1da83b26a9764598e39f80399b505b94 (patch) | |
tree | 848a7d456b8504dfb325abf8ed8b04de320762d0 /src/mesa/state_tracker | |
parent | 292ebdbf985f09e9af3dec28af784247510e0904 (diff) |
nir/validate: Print when the validation failed
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index 911284401e0..fe85eeb458d 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -721,7 +721,7 @@ st_link_nir(struct gl_context *ctx, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER); if (nir_lower_wpos_ytransform(nir, &wpos_options)) { - nir_validate_shader(nir); + nir_validate_shader(nir, "after nir_lower_wpos_ytransform"); _mesa_add_state_reference(shader->Program->Parameters, wposTransformState); } |