mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 08:08:25 +02:00
r300g: implement the texture barrier
This commit is contained in:
parent
aea4ed41ed
commit
79ddcb93fb
1 changed files with 10 additions and 0 deletions
|
|
@ -1870,6 +1870,14 @@ static void r300_set_constant_buffer(struct pipe_context *pipe,
|
|||
}
|
||||
}
|
||||
|
||||
static void r300_texture_barrier(struct pipe_context *pipe)
|
||||
{
|
||||
struct r300_context *r300 = r300_context(pipe);
|
||||
|
||||
r300_mark_atom_dirty(r300, &r300->gpu_flush);
|
||||
r300_mark_atom_dirty(r300, &r300->texture_cache_inval);
|
||||
}
|
||||
|
||||
void r300_init_state_functions(struct r300_context* r300)
|
||||
{
|
||||
r300->context.create_blend_state = r300_create_blend_state;
|
||||
|
|
@ -1925,4 +1933,6 @@ void r300_init_state_functions(struct r300_context* r300)
|
|||
r300->context.create_vs_state = r300_create_vs_state;
|
||||
r300->context.bind_vs_state = r300_bind_vs_state;
|
||||
r300->context.delete_vs_state = r300_delete_vs_state;
|
||||
|
||||
r300->context.texture_barrier = r300_texture_barrier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue