mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 20:30:34 +01:00
etnaviv: add default clear_buffer and clear_texture APIS
These are required to support rusticl. Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22210>
This commit is contained in:
parent
201a141798
commit
2a111d520e
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,8 @@
|
|||
#include "util/u_prim.h"
|
||||
#include "util/u_upload_mgr.h"
|
||||
#include "util/u_debug_cb.h"
|
||||
#include "util/u_surface.h"
|
||||
#include "util/u_transfer.h"
|
||||
|
||||
#include "hw/common.xml.h"
|
||||
|
||||
|
|
@ -621,6 +623,8 @@ etna_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
|
|||
pctx->fence_server_sync = etna_fence_server_sync;
|
||||
pctx->emit_string_marker = etna_emit_string_marker;
|
||||
pctx->set_frontend_noop = etna_set_frontend_noop;
|
||||
pctx->clear_buffer = u_default_clear_buffer;
|
||||
pctx->clear_texture = util_clear_texture;
|
||||
|
||||
/* creation of compile states */
|
||||
pctx->create_blend_state = etna_blend_state_create;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue