summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink/zink_pipeline.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-10-25 12:02:15 +1000
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:45 +0000
commite234116a96604d787bcc05a3b9ebcf8701682e6f (patch)
tree81bce0747ba2e31ee10a4b084e2d7a245e0d72c3 /src/gallium/drivers/zink/zink_pipeline.c
parent0c5f3e50aea46b1aa9456c40ac0607253fcd06cd (diff)
zink: add samples to rasterizer
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink/zink_pipeline.c')
-rw-r--r--src/gallium/drivers/zink/zink_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/zink_pipeline.c b/src/gallium/drivers/zink/zink_pipeline.c
index 3850395b660..9516a8fbb82 100644
--- a/src/gallium/drivers/zink/zink_pipeline.c
+++ b/src/gallium/drivers/zink/zink_pipeline.c
@@ -59,7 +59,7 @@ zink_create_gfx_pipeline(VkDevice dev, struct zink_gfx_program *prog,
VkPipelineMultisampleStateCreateInfo ms_state = {};
ms_state.sType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO;
- ms_state.rasterizationSamples = VK_SAMPLE_COUNT_1_BIT;
+ ms_state.rasterizationSamples = state->rast_samples;
ms_state.alphaToCoverageEnable = state->blend_state->alpha_to_coverage;
ms_state.alphaToOneEnable = state->blend_state->alpha_to_one;
ms_state.pSampleMask = state->sample_mask ? &state->sample_mask : NULL;