xref: /aosp_15_r20/external/mesa3d/src/gallium/auxiliary/util/u_sample_positions.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright 2023 Alyssa Rosenzweig
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #ifndef U_SAMPLE_POSITIONS_H
7 #define U_SAMPLE_POSITIONS_H
8 
9 #include "pipe/p_context.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 void
16 u_default_get_sample_position(struct pipe_context *ctx,
17                               unsigned sample_count,
18                               unsigned sample_index,
19                               float *out_value);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif
26