Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c31 unsigned dirty_shader = PAN_DIRTY_STAGE_SHADER | PAN_DIRTY_STAGE_CONST; in panfrost_analyze_sysvals() local
41 dirty_shader |= PAN_DIRTY_STAGE_TEXTURE; in panfrost_analyze_sysvals()
45 dirty_shader |= PAN_DIRTY_STAGE_SSBO; in panfrost_analyze_sysvals()
53 dirty_shader |= PAN_DIRTY_STAGE_SAMPLER; in panfrost_analyze_sysvals()
57 dirty_shader |= PAN_DIRTY_STAGE_IMAGE; in panfrost_analyze_sysvals()
83 ss->dirty_shader = dirty_shader; in panfrost_analyze_sysvals()
Dpan_context.h134 enum pan_dirty_shader dirty_shader[PIPE_SHADER_TYPES]; member
308 unsigned dirty_3d, dirty_shader; member
439 ctx->dirty_shader[i] = ~0; in panfrost_dirty_state_all()
449 ctx->dirty_shader[i] = 0; in panfrost_clean_state_3d()
Dpan_context.c250 ctx->dirty_shader[PIPE_SHADER_FRAGMENT] |= PAN_DIRTY_STAGE_IMAGE; in panfrost_set_shader_images()
378 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_SAMPLER; in panfrost_bind_sampler_states()
528 ctx->dirty_shader[type] |= PAN_DIRTY_STAGE_SHADER; in panfrost_bind_shader_state()
633 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_CONST; in panfrost_set_constant_buffer()
656 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_TEXTURE; in panfrost_set_sampler_views()
714 ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_SSBO; in panfrost_set_shader_buffers()
Dpan_cmdstream.c2940 unsigned dirty = ctx->dirty_shader[st]; in panfrost_update_shader_state()
2966 if ((dirty & ss->dirty_shader) || (dirty_3d & ss->dirty_3d)) { in panfrost_update_shader_state()
3006 (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & PAN_DIRTY_STAGE_SHADER)) in panfrost_update_state_3d()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.h379 enum fd_dirty_shader_state dirty_shader[PIPE_SHADER_TYPES] dt; member
629 or_mask(ctx->dirty_shader[shader], dirty); in fd_context_dirty_shader()
646 ctx->dirty_shader[i] = (enum fd_dirty_shader_state) ~0; in fd_context_all_dirty()
663 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.c620 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.c847 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) { in fd5_emit_state()
854 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_TEX) { in fd5_emit_state()
871 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_SSBO) in fd5_emit_state()
875 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_IMAGE) in fd5_emit_state()
884 enum fd_dirty_shader_state dirty = ctx->dirty_shader[PIPE_SHADER_COMPUTE]; in fd5_emit_cs_state()
Dfd5_compute.c122 if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG) in fd5_launch_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c907 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) in fd4_emit_state()
910 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_TEX) in fd4_emit_state()
914 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_SSBO) in fd4_emit_state()
917 if (ctx->dirty_shader[PIPE_SHADER_FRAGMENT] & FD_DIRTY_SHADER_IMAGE) in fd4_emit_state()
926 enum fd_dirty_shader_state dirty = ctx->dirty_shader[PIPE_SHADER_COMPUTE]; in fd4_emit_cs_state()
Dfd4_compute.c141 if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG) in fd4_launch_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_compute.c125 if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG) in fd6_launch_grid()
Dfd6_emit.c516 if ((ctx->dirty_shader[type] & FD_DIRTY_SHADER_TEX) && in fd6_emit_combined_textures()
532 if ((ctx->dirty_shader[type] & in fd6_emit_combined_textures()
1182 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/a3xx/
Dfd3_emit.c823 if (ctx->dirty_shader[PIPE_SHADER_VERTEX] & FD_DIRTY_SHADER_TEX) in fd3_emit_state()
826 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()