diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 9 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index f9fdc361de6..db4fb3b74a8 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -59,15 +59,6 @@ static struct gl_renderbuffer * intel_new_renderbuffer(struct gl_context * ctx, GLuint name); -bool -intel_framebuffer_has_hiz(struct gl_framebuffer *fb) -{ - struct intel_renderbuffer *rb = NULL; - if (fb) - rb = intel_get_renderbuffer(fb, BUFFER_DEPTH); - return rb && rb->mt && rb->mt->hiz_mt; -} - struct intel_region* intel_get_rb_region(struct gl_framebuffer *fb, GLuint attIndex) { diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index e14fe550b0c..02bda1efc8b 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -129,10 +129,6 @@ intel_rb_format(const struct intel_renderbuffer *rb) return rb->Base.Base.Format; } - -bool -intel_framebuffer_has_hiz(struct gl_framebuffer *fb); - extern struct intel_renderbuffer * intel_create_renderbuffer(gl_format format); |