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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 29 on bug 110897 from
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux