summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-07-30 10:36:23 -0400
committerRob Clark <[email protected]>2018-07-30 12:31:05 -0400
commit0ea243dcd502e18fde160179faf90639fb012288 (patch)
tree44e59cc4f8260b907f3635c73fb6424677e6a308 /src/gallium/drivers/freedreno/a5xx/fd5_draw.c
parentf310e86a4200d8ecc74f9ae682386b6ecd1d09d2 (diff)
freedreno/a5xx: fix txf_ms
Somehow this got lost from the initial MSAA patch. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a5xx/fd5_draw.c')
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_draw.c b/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
index 9fae44a8743..aa06b3c7148 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
@@ -117,6 +117,8 @@ fd5_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
.fsaturate_r = fd5_ctx->fsaturate_r,
.vastc_srgb = fd5_ctx->vastc_srgb,
.fastc_srgb = fd5_ctx->fastc_srgb,
+ .vsamples = ctx->tex[PIPE_SHADER_VERTEX].samples,
+ .fsamples = ctx->tex[PIPE_SHADER_FRAGMENT].samples,
},
.rasterflat = ctx->rasterizer->flatshade,
.sprite_coord_enable = ctx->rasterizer->sprite_coord_enable,