Home
last modified time | relevance | path

Searched refs:dirty_shader (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c31 unsigned dirty_shader = in panfrost_analyze_sysvals() local
42 dirty_shader |= PAN_DIRTY_STAGE_TEXTURE; in panfrost_analyze_sysvals()
46 dirty_shader |= PAN_DIRTY_STAGE_SSBO; in panfrost_analyze_sysvals()
50 dirty_shader |= PAN_DIRTY_STAGE_SAMPLER; in panfrost_analyze_sysvals()
54 dirty_shader |= PAN_DIRTY_STAGE_IMAGE; in panfrost_analyze_sysvals()
79 ss->dirty_shader = dirty_shader; in panfrost_analyze_sysvals()
Dpan_context.c140 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_bind_blend_state()
148 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_set_blend_color()
232 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_bind_rasterizer_state()
243 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_IMAGE; in panfrost_set_shader_images()
363 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_SAMPLER; in panfrost_bind_sampler_states()
452 ctx->dirty_shader[type] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_bind_shader_state()
606 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_CONST; in panfrost_set_constant_buffer()
616 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_set_stencil_ref()
629 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_TEXTURE; in panfrost_set_sampler_views()
704 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_RENDERER; in panfrost_bind_depth_stencil_state()
[all …]
Dpan_context.h129 enum pan_dirty_shader dirty_shader[PIPE_SHADER_TYPES]; member
273 unsigned dirty_3d, dirty_shader; member
398 ctx->dirty_shader[i] = ~0; in panfrost_dirty_state_all()
408 ctx->dirty_shader[i] = 0; in panfrost_clean_state_3d()
Dpan_cmdstream.c2581 unsigned dirty = ctx->dirty_shader[st]; in panfrost_update_state_tex()
2593 if ((dirty & ss->dirty_shader) || (dirty_3d & ss->dirty_3d)) { in panfrost_update_state_tex()
2615 unsigned dirty = batch->ctx->dirty_shader[st]; in panfrost_update_state_vs()
2627 unsigned dirty = batch->ctx->dirty_shader[st]; in panfrost_update_state_fs()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.h376 enum fd_dirty_shader_state dirty_shader[PIPE_SHADER_TYPES] dt; member
639 or_dirty(ctx->dirty_shader[shader], dirty); in fd_context_dirty_shader()
656 ctx->dirty_shader[i] = (enum fd_dirty_shader_state) ~0; in fd_context_all_dirty()
673 ctx->dirty_shader[i] = (enum fd_dirty_shader_state)0; in fd_context_all_clean()
Dfreedreno_draw.c138 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_SSBO) { in batch_draw_tracking_for_dirty_bits()
149 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_IMAGE) { in batch_draw_tracking_for_dirty_bits()
162 if (ctx->dirty_shader[s] & FD_DIRTY_SHADER_CONST) { in batch_draw_tracking_for_dirty_bits()
168 if (ctx->dirty_shader[s] & FD_DIRTY_SHADER_TEX) { in batch_draw_tracking_for_dirty_bits()
Dfreedreno_resource.c100 !(ctx->dirty_shader[stage] & FD_DIRTY_CONST)) { in rebind_resource_in_ctx()
113 !(ctx->dirty_shader[stage] & FD_DIRTY_TEX)) { in rebind_resource_in_ctx()
125 !(ctx->dirty_shader[stage] & FD_DIRTY_IMAGE)) { in rebind_resource_in_ctx()
138 !(ctx->dirty_shader[stage] & FD_DIRTY_SSBO)) { in rebind_resource_in_ctx()
Dfreedreno_state.c606 ctx->dirty_shader[PIPE_SHADER_COMPUTE] |= FD_DIRTY_SHADER_PROG; in fd_bind_compute_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c855 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) { in fd5_emit_state()
862 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_TEX) { in fd5_emit_state()
879 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_SSBO) in fd5_emit_state()
883 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_IMAGE) in fd5_emit_state()
892 enum fd_dirty_shader_state dirty = ctx->dirty_shader[PIPE_SHADER_COMPUTE]; in fd5_emit_cs_state()
Dfd5_compute.c121 if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG) in fd5_launch_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_compute.c126 if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG) in fd6_launch_grid()
Dfd6_emit.c515 if ((ctx->dirty_shader[type] & FD_DIRTY_SHADER_TEX) && in fd6_emit_combined_textures()
531 if ((ctx->dirty_shader[type] & in fd6_emit_combined_textures()
1170 enum fd_dirty_shader_state dirty = ctx->dirty_shader[PIPE_SHADER_COMPUTE]; in fd6_emit_cs_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_draw.c633 ctx->dirty_shader[PIPE_SHADER_VERTEX] |= FD_DIRTY_SHADER_PROG; in fd2_clear()
634 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= in fd2_clear()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c767 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) in fd4_emit_state()
770 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_TEX) in fd4_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c832 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) in fd3_emit_state()
835 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_TEX) in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h399 enum fd_dirty_shader_state dirty = ctx->dirty_shader[t]; in emit_common_consts()