mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 14:18:07 +02:00
radv: enable VK_EXT_sample_locations
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
05f5fa661f
commit
0905189a25
2 changed files with 1 additions and 9 deletions
|
|
@ -1369,17 +1369,9 @@ void radv_GetPhysicalDeviceProperties2(
|
|||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: {
|
||||
VkPhysicalDeviceSampleLocationsPropertiesEXT *properties =
|
||||
(VkPhysicalDeviceSampleLocationsPropertiesEXT *)ext;
|
||||
/* TODO: The ext is currently disabled because the
|
||||
* driver needs to handle sample locations during
|
||||
* layout transitions for depth/stencil surfaces and
|
||||
* HTILE.
|
||||
*/
|
||||
properties->sampleLocationSampleCounts = VK_SAMPLE_COUNT_1_BIT;
|
||||
/*
|
||||
properties->sampleLocationSampleCounts = VK_SAMPLE_COUNT_2_BIT |
|
||||
VK_SAMPLE_COUNT_4_BIT |
|
||||
VK_SAMPLE_COUNT_8_BIT;
|
||||
*/
|
||||
properties->maxSampleLocationGridSize = (VkExtent2D){ 2 , 2 };
|
||||
properties->sampleLocationCoordinateRange[0] = 0.0f;
|
||||
properties->sampleLocationCoordinateRange[1] = 0.9375f;
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ EXTENSIONS = [
|
|||
Extension('VK_EXT_memory_priority', 1, True),
|
||||
Extension('VK_EXT_pci_bus_info', 2, True),
|
||||
Extension('VK_EXT_pipeline_creation_feedback', 1, True),
|
||||
Extension('VK_EXT_sample_locations', 1, False),
|
||||
Extension('VK_EXT_sample_locations', 1, True),
|
||||
Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= GFX7'),
|
||||
Extension('VK_EXT_scalar_block_layout', 1, 'device->rad_info.chip_class >= GFX7'),
|
||||
Extension('VK_EXT_shader_viewport_index_layer', 1, True),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue