summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/zink/zink_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/zink/zink_context.h')
-rw-r--r--src/gallium/drivers/zink/zink_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_context.h b/src/gallium/drivers/zink/zink_context.h
index 4c468e92d81..77b65af5301 100644
--- a/src/gallium/drivers/zink/zink_context.h
+++ b/src/gallium/drivers/zink/zink_context.h
@@ -210,6 +210,7 @@ struct zink_context {
float blend_constants[4];
bool sample_locations_changed;
+ VkSampleLocationEXT vk_sample_locations[PIPE_MAX_SAMPLE_LOCATION_GRID_SIZE * PIPE_MAX_SAMPLE_LOCATION_GRID_SIZE];
uint8_t sample_locations[2 * 4 * 8 * 16];
bool drawid_broken;
@@ -408,4 +409,7 @@ zink_buffer_view_reference(struct zink_screen *screen,
void
zink_update_descriptor_refs(struct zink_context *ctx, bool compute);
+
+void
+zink_init_vk_sample_locations(struct zink_context *ctx, VkSampleLocationsInfoEXT *loc);
#endif