vrend: make vrend_fb_bind_texture_id non-static

later we need this function in the blitter

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gert Wollny 6 years ago
parent 68d7ac362a
commit bff404385e
  1. 2
      src/vrend_renderer.c
  2. 5
      src/vrend_renderer.h

@ -2029,7 +2029,7 @@ void debug_texture(const char *f, const struct vrend_resource *gt)
#undef PRINT_TARGET
}
static void vrend_fb_bind_texture_id(struct vrend_resource *res,
void vrend_fb_bind_texture_id(struct vrend_resource *res,
int id,
int idx,
uint32_t level, uint32_t layer)

@ -301,6 +301,11 @@ void vrend_set_uniform_buffer(struct vrend_context *ctx, uint32_t shader,
uint32_t index, uint32_t offset, uint32_t length,
uint32_t res_handle);
void vrend_fb_bind_texture_id(struct vrend_resource *res,
int id,
int idx,
uint32_t level, uint32_t layer);
void vrend_set_tess_state(struct vrend_context *ctx, const float tess_factors[6]);
void vrend_renderer_fini(void);

Loading…
Cancel
Save