nir/print: Don't use comment syntax for deref_cast properties
Follow the same syntax as the intrinsic indices, since they are conceptually similar. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23564>
This commit is contained in:
@@ -1056,7 +1056,7 @@ print_deref_instr(nir_deref_instr *instr, print_state *state)
|
||||
}
|
||||
|
||||
if (instr->deref_type == nir_deref_type_cast) {
|
||||
fprintf(fp, " /* ptr_stride=%u, align_mul=%u, align_offset=%u */",
|
||||
fprintf(fp, " (ptr_stride=%u, align_mul=%u, align_offset=%u)",
|
||||
instr->cast.ptr_stride,
|
||||
instr->cast.align_mul, instr->cast.align_offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user