diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-27 16:06:00 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-28 11:22:40 +0200 |
commit | 3f38e64270c03c9a9eb5368c06dcfd1896fbf6d0 (patch) | |
tree | 0275beb1b30250c4d712c084fae75a4a2a67eb57 /src/mesa | |
parent | 8971513e909da2f005ff5dcfb5b181ad45295539 (diff) |
st/mesa: remove useless st_bufferobj_validate_usage()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 13 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.h | 6 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 68ec2501015..c19830d9c91 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -548,19 +548,6 @@ st_clear_buffer_subdata(struct gl_context *ctx, clearValue, clearValueSize); } - -/* TODO: if buffer wasn't created with appropriate usage flags, need - * to recreate it now and copy contents -- or possibly create a - * gallium entrypoint to extend the usage flags and let the driver - * decide if a copy is necessary. - */ -void -st_bufferobj_validate_usage(struct st_context *st, - struct st_buffer_object *obj, - unsigned usage) -{ -} - static void st_bufferobj_page_commitment(struct gl_context *ctx, struct gl_buffer_object *bufferObj, diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.h b/src/mesa/state_tracker/st_cb_bufferobjects.h index 54e6a21ce57..b9f91b07481 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.h +++ b/src/mesa/state_tracker/st_cb_bufferobjects.h @@ -57,12 +57,6 @@ st_buffer_object(struct gl_buffer_object *obj) extern void -st_bufferobj_validate_usage(struct st_context *st, - struct st_buffer_object *obj, - unsigned usage); - - -extern void st_init_bufferobject_functions(struct pipe_screen *screen, struct dd_function_table *functions); |