Home
last modified time | relevance | path

Searched refs:replaced_shader (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_objects.c233 if (rb_shader->replaced_shader) in rbug_shader_destroy()
234 pipe->delete_fs_state(pipe, rb_shader->replaced_shader); in rbug_shader_destroy()
238 if (rb_shader->replaced_shader) in rbug_shader_destroy()
239 pipe->delete_vs_state(pipe, rb_shader->replaced_shader); in rbug_shader_destroy()
243 if (rb_shader->replaced_shader) in rbug_shader_destroy()
244 pipe->delete_gs_state(pipe, rb_shader->replaced_shader); in rbug_shader_destroy()
Drbug_objects.h63 void *replaced_shader; member
180 return shader->replaced_shader ? shader->replaced_shader : shader->shader; in rbug_shader_unwrap()
Drbug_core.c667 if (tr_shdr->replaced_shader) { in rbug_shader_replace()
673 rbug_shader_delete_locked(pipe, tr_shdr, tr_shdr->replaced_shader); in rbug_shader_replace()
674 tr_shdr->replaced_shader = NULL; in rbug_shader_replace()
695 tr_shdr->replaced_shader = state; in rbug_shader_replace()
706 tr_shdr->replaced_shader = NULL; in rbug_shader_replace()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c858 struct gl_shader *replaced_shader = NULL; in setup_censor_overrides() local
885 replaced_shader = gs->shader; in setup_censor_overrides()
893 return replaced_shader; in setup_censor_overrides()
911 struct gl_shader *replaced_shader = NULL; in draw_view() local
930 replaced_shader = setup_censor_overrides(output, ev); in draw_view()
1006 if (replaced_shader) in draw_view()
1007 gs->shader = replaced_shader; in draw_view()