[Bug 109630] vkQuake flickering geometry under Intel
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 1 12:56:16 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109630
--- Comment #10 from Danylo <danylo.piliaiev at gmail.com> ---
Ok, one more update:
A part of the dispatch which seems to lead to the issue is
MEDIA_INTERFACE_DESCRIPTOR_LOAD, commenting out everything unnecessary around
doesn't make flickering disappear, the moment MEDIA_INTERFACE_DESCRIPTOR_LOAD
is commented out - no flicker.
So the minimal reproduction will be commenting out the dispatch and adding this
at the start of cmd_buffer_flush_state:
if((cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE) &&
cmd_buffer->state.compute.base.pipeline)
{
struct anv_pipeline *pipeline = cmd_buffer->state.compute.base.pipeline;
genX(flush_pipeline_select_gpgpu)(cmd_buffer);
cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_CS_STALL_BIT;
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
anv_batch_emit_batch(&cmd_buffer->batch, &pipeline->batch);
struct anv_state state =
anv_cmd_buffer_alloc_dynamic_state(cmd_buffer,
GENX(INTERFACE_DESCRIPTOR_DATA_length), 64);
uint32_t size = GENX(INTERFACE_DESCRIPTOR_DATA_length) *
sizeof(uint32_t);
anv_batch_emit(&cmd_buffer->batch,
GENX(MEDIA_INTERFACE_DESCRIPTOR_LOAD), mid) {
mid.InterfaceDescriptorTotalLength = size;
mid.InterfaceDescriptorDataStartAddress = 0;
}
// Just to be sure...
cmd_buffer->state.gfx.dirty = ~0;
cmd_buffer->state.gfx.vb_dirty = ~0;
cmd_buffer->state.pending_pipe_bits = ~0;
cmd_buffer->state.descriptors_dirty = ~0;
cmd_buffer->state.push_constants_dirty = ~0;
}
Which produces the same issue.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190401/7752d615/attachment.html>
More information about the intel-3d-bugs
mailing list