Lines Matching defs:dirty

1690     * flag them dirty here to make sure they get emitted.
1731 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_RENDER_TARGETS;
1793 * rendering anything. So we flag them dirty in BeginCommandBuffer.
1947 * TODO: Maybe we want to make this a dirty bit to avoid extra state base
2559 * pipeline setup, we need to dirty push constants.
2899 const VkShaderStageFlags dirty,
2912 if ((vk_stage & dirty) == 0)
3493 if (!(cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE) &&
3494 !BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_IA_PRIMITIVE_TOPOLOGY) &&
3496 !BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_RS_CULL_MODE) &&
3497 !BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_RS_FRONT_FACE) &&
3499 !BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_VIEWPORT_COUNT))
3816 if (cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE)
3893 if (!cmd_buffer->state.gfx.dirty && !descriptors_dirty &&
3898 if ((cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_XFB_ENABLE) ||
3899 (GFX_VER == 7 && (cmd_buffer->state.gfx.dirty &
3914 /* We don't need any per-buffer dirty tracking because you're not
3965 if (cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE) {
3997 if (cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_RENDER_TARGETS)
4007 uint32_t dirty = 0;
4009 dirty = flush_descriptor_sets(cmd_buffer,
4014 cmd_buffer->state.descriptors_dirty &= ~dirty;
4017 if (dirty || cmd_buffer->state.push_constants_dirty) {
4019 * descriptors or push constants is dirty.
4021 dirty |= cmd_buffer->state.push_constants_dirty;
4023 dirty & VK_SHADER_STAGE_ALL_GRAPHICS);
4026 cmd_buffer, dirty & (VK_SHADER_STAGE_TASK_BIT_NV |
4031 if (dirty & VK_SHADER_STAGE_ALL_GRAPHICS) {
4033 dirty & VK_SHADER_STAGE_ALL_GRAPHICS);
4038 if ((cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_PIPELINE |
4040 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_RS_RASTERIZER_DISCARD_ENABLE))
4043 if ((cmd_buffer->state.gfx.dirty & (ANV_CMD_DIRTY_PIPELINE |
4045 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_VIEWPORTS) ||
4046 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_SCISSORS)) {
4053 if ((cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE) ||
4054 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_IA_PRIMITIVE_TOPOLOGY)) {
4980 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_XFB_ENABLE;
5030 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_XFB_ENABLE;
5222 * so flag push constants as dirty if we change the pipeline.
5942 * invalid. Set the compute pipeline to dirty to force a re-emit of the
6120 * after every 3DPRIMITIVE and copies the bound range into the dirty
6135 struct anv_vb_cache_range *bound, *dirty;
6138 dirty = &cmd_buffer->state.gfx.ib_dirty_range;
6144 dirty = &cmd_buffer->state.gfx.vb_dirty_ranges[vb_index];
6147 if (anv_gfx8_9_vb_cache_range_needs_workaround(bound, dirty,
6169 struct anv_vb_cache_range *dirty = &cmd_buffer->state.gfx.ib_dirty_range;
6172 dirty->start = MIN2(dirty->start, bound->start);
6173 dirty->end = MAX2(dirty->end, bound->end);
6184 struct anv_vb_cache_range *bound, *dirty;
6186 dirty = &cmd_buffer->state.gfx.vb_dirty_ranges[i];
6189 dirty->start = MIN2(dirty->start, bound->start);
6190 dirty->end = MAX2(dirty->end, bound->end);
6921 gfx->dirty |= ANV_CMD_DIRTY_RENDER_TARGETS;
6927 * VERTEX_BUFFER_STATE on gfx7, we need to dirty vertex buffers at the top
6939 * with this edge case, we just dirty the pipeline at the start of every
6942 gfx->dirty |= ANV_CMD_DIRTY_PIPELINE;
7441 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_INDEX_BUFFER;