vrend: remove unused function

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
macos/master
Erik Faye-Lund 6 years ago
parent df69664113
commit 883eccce43
  1. 5
      src/vrend_renderer.c
  2. 1
      src/vrend_renderer.h

@ -662,11 +662,6 @@ static inline bool vrend_format_is_ds(enum virgl_formats format)
return tex_conv_table[format].bindings & VIRGL_BIND_DEPTH_STENCIL; return tex_conv_table[format].bindings & VIRGL_BIND_DEPTH_STENCIL;
} }
bool vrend_is_ds_format(enum virgl_formats format)
{
return vrend_format_is_ds(format);
}
bool vrend_format_is_emulated_alpha(enum virgl_formats format) bool vrend_format_is_emulated_alpha(enum virgl_formats format)
{ {
if (vrend_state.use_gles || !vrend_state.use_core_profile) if (vrend_state.use_gles || !vrend_state.use_core_profile)

@ -423,7 +423,6 @@ void vrend_report_buffer_error(struct vrend_context *ctx, int cmd);
void vrend_fb_bind_texture(struct vrend_resource *res, void vrend_fb_bind_texture(struct vrend_resource *res,
int idx, int idx,
uint32_t level, uint32_t layer); uint32_t level, uint32_t layer);
bool vrend_is_ds_format(enum virgl_formats format);
bool vrend_format_is_emulated_alpha(enum virgl_formats format); bool vrend_format_is_emulated_alpha(enum virgl_formats format);
boolean format_is_copy_compatible(enum pipe_format src, enum pipe_format dst, boolean format_is_copy_compatible(enum pipe_format src, enum pipe_format dst,
boolean allow_compressed); boolean allow_compressed);

Loading…
Cancel
Save