mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
vk: Emit 3DSTATE_SAMPLE_MASK
This was missing and was causing the driver to not work with execlists. Presumably we get a different initial hw context with execlists enabled, that has sample mask 0 initially. Set this to 0xffff for now. When we add MS support, we need to take the value from VkPipelineMsStateCreateInfo::sampleMask.
This commit is contained in:
parent
c325bb24b5
commit
a1eea996d4
1 changed files with 3 additions and 0 deletions
|
|
@ -538,6 +538,9 @@ anv_pipeline_create(
|
|||
.PixelLocation = CENTER,
|
||||
.NumberofMultisamples = log2_samples);
|
||||
|
||||
anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_SAMPLE_MASK,
|
||||
.SampleMask = 0xffff);
|
||||
|
||||
anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_URB_VS,
|
||||
.VSURBStartingAddress = pipeline->urb.vs_start,
|
||||
.VSURBEntryAllocationSize = pipeline->urb.vs_size - 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue