aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_scene.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-03-21 07:11:39 +1000
committerMarge Bot <[email protected]>2020-05-06 06:20:38 +0000
commit88851c4798a5ee57441cc5ad71d439a5b6f1a609 (patch)
treed3c880007d8c99841926f92059989affb2d6a5e6 /src/gallium/drivers/llvmpipe/lp_scene.h
parent78b7f2283879d1f952cd13534f4c666447b5b3ea (diff)
llvmpipe: add fixed point sample positions to scene.
These will be used in the rasterizer to generate the coverage masks Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h
index 41322baf14d..9f90dbbb02a 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.h
+++ b/src/gallium/drivers/llvmpipe/lp_scene.h
@@ -150,6 +150,9 @@ struct lp_scene {
/* The amount of layers in the fb (minimum of all attachments) */
unsigned fb_max_layer;
+ /* fixed point sample positions. */
+ int32_t fixed_sample_pos[LP_MAX_SAMPLES][2];
+
/* max samples for bound framebuffer */
unsigned fb_max_samples;