summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-07 23:33:44 +0200
committerMarek Olšák <[email protected]>2017-10-09 16:27:04 +0200
commit0ecf9b90efa7b6df5a16560797fb9e1355a6965d (patch)
tree6bd161cb766bb87b9604f7637cebe3c3b2dd1fd3 /src/gallium/drivers/radeonsi/si_pipe.h
parent345f04ed92551d15b324436d7fada9c14f8aee08 (diff)
radeonsi: import cayman_msaa.c from drivers/radeon
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 4e54b7ef160..c162a0fcd62 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -543,6 +543,15 @@ struct si_context {
/* Bindless state */
bool uses_bindless_samplers;
bool uses_bindless_images;
+
+ /* MSAA sample locations.
+ * The first index is the sample index.
+ * The second index is the coordinate: X, Y. */
+ float sample_locations_1x[1][2];
+ float sample_locations_2x[2][2];
+ float sample_locations_4x[4][2];
+ float sample_locations_8x[8][2];
+ float sample_locations_16x[16][2];
};
/* cik_sdma.c */