diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-08-07 01:57:42 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-11-10 15:14:25 +0100 |
commit | 1d28936dea2062f89ecd204aabae5bfe06eb943a (patch) | |
tree | 2fa4ac81fb82fb5c14c7b642529223fb2442a25e /src/gallium/drivers/r300/r300_blit.c | |
parent | 88ddfc57e48ef86bd6f5d5f6617936ebcdce0efc (diff) | |
download | external_mesa3d-1d28936dea2062f89ecd204aabae5bfe06eb943a.zip external_mesa3d-1d28936dea2062f89ecd204aabae5bfe06eb943a.tar.gz external_mesa3d-1d28936dea2062f89ecd204aabae5bfe06eb943a.tar.bz2 |
r300g: rename has_hyperz -> can_hyperz
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 91a374a..0ac4e4c 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -176,12 +176,12 @@ static void r300_clear(struct pipe_context* pipe, fb->zsbuf ? r300_texture(fb->zsbuf->texture) : NULL; uint32_t width = fb->width; uint32_t height = fb->height; - boolean has_hyperz = r300->rws->get_value(r300->rws, R300_CAN_HYPERZ); + boolean can_hyperz = r300->rws->get_value(r300->rws, R300_CAN_HYPERZ); uint32_t hyperz_dcv = hyperz->zb_depthclearvalue; /* Enable fast Z clear. * The zbuffer must be in micro-tiled mode, otherwise it locks up. */ - if ((buffers & PIPE_CLEAR_DEPTHSTENCIL) && has_hyperz) { + if ((buffers & PIPE_CLEAR_DEPTHSTENCIL) && can_hyperz) { hyperz_dcv = hyperz->zb_depthclearvalue = r300_depth_clear_value(fb->zsbuf->format, depth, stencil); |