On Tuesday, August 21, 2018 6:57:48 PM PDT Jason Ekstrand wrote:
> Some of the bits of VERTEX_BUFFER_STATE such as access type, instance
> data step rate, and pitch come from the pipeline.
> 
> Cc: [email protected]
> ---
>  src/intel/vulkan/genX_cmd_buffer.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/intel/vulkan/genX_cmd_buffer.c 
> b/src/intel/vulkan/genX_cmd_buffer.c
> index b7ed817d3a0..18f80e8d1bd 100644
> --- a/src/intel/vulkan/genX_cmd_buffer.c
> +++ b/src/intel/vulkan/genX_cmd_buffer.c
> @@ -2493,6 +2493,8 @@ genX(cmd_buffer_flush_state)(struct anv_cmd_buffer 
> *cmd_buffer)
>     uint32_t *p;
>  
>     uint32_t vb_emit = cmd_buffer->state.gfx.vb_dirty & pipeline->vb_used;
> +   if (cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE)
> +      vb_emit |= pipeline->vb_used;
>  
>     assert((pipeline->active_stages & VK_SHADER_STAGE_COMPUTE_BIT) == 0);
>  
> 

This patch is:
Reviewed-by: Kenneth Graunke <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to