[Bug 110897] HyperZ is broken for r300 (bad z for some micro and macrotiles?)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 14 13:20:58 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110897

--- Comment #29 from Richard Thier <u9vata at gmail.com> ---
Okay this is weird for me:

  /* src/gallium/drivers/r300/r300_texture_desc.c */
  399             /* Get the HIZ buffer size in dwords. */
  400             hiz_numdw = (stride * height) / (8*8 * pipes);
  401 
  402             /* Check whether we have enough HIZ memory. */
  403             if (hiz_numdw <= screen->caps.hiz_ram * pipes) {
  404                 tex->tex.hiz_dwords[i] = hiz_numdw;
  405                 tex->tex.hiz_stride_in_pixels[i] = stride;
  406             } else {
  407                 tex->tex.hiz_dwords[i] = 0;
  408                 tex->tex.hiz_stride_in_pixels[i] = 0;
  409             }

  (gdb) p hiz_numdw
  $35 = 1128
  (gdb) p screen->caps.hiz_ram
  $36 = 0
  (gdb)

(!) Is it normal to have zero hiz_ram on this
card???????????????????????????????????????????????

Btw:

info.r300_num_z_pipes == 1
info.r300_num_gb_pipes == 3 (this is in the pipes var)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190614/b2903e1b/attachment.html>


More information about the dri-devel mailing list