~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/etnaviv/etnaviv_resource.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
    * The stride of the BO must be greater or equal to our padded
709
709
    * stride. The size of the BO must accomodate the padded height. */
710
710
   if (level->stride < util_format_get_stride(tmpl->format, level->padded_width)) {
711
 
      BUG("BO stride %u is too small for RS engine width padding (%zu, format %s)",
 
711
      BUG("BO stride %u is too small for RS engine width padding (%u, format %s)",
712
712
          level->stride, util_format_get_stride(tmpl->format, level->padded_width),
713
713
          util_format_name(tmpl->format));
714
714
      goto fail;