Lines Matching refs:sampleLocations
300 VkPipelineSampleLocationsStateCreateInfoEXT* sampleLocations) { in setup_all_sample_locations_at_pixel_center() argument
304 memset(sampleLocations, 0, sizeof(VkPipelineSampleLocationsStateCreateInfoEXT)); in setup_all_sample_locations_at_pixel_center()
305 sampleLocations->sType = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT; in setup_all_sample_locations_at_pixel_center()
306 sampleLocations->pNext = nullptr; in setup_all_sample_locations_at_pixel_center()
307 sampleLocations->sampleLocationsEnable = VK_TRUE; in setup_all_sample_locations_at_pixel_center()
308 sampleLocations->sampleLocationsInfo.sType = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT; in setup_all_sample_locations_at_pixel_center()
309 sampleLocations->sampleLocationsInfo.pNext = nullptr; in setup_all_sample_locations_at_pixel_center()
312 &sampleLocations->sampleLocationsInfo.sampleLocationsPerPixel)); in setup_all_sample_locations_at_pixel_center()
313 sampleLocations->sampleLocationsInfo.sampleLocationGridSize.width = 1; in setup_all_sample_locations_at_pixel_center()
314 sampleLocations->sampleLocationsInfo.sampleLocationGridSize.height = 1; in setup_all_sample_locations_at_pixel_center()
316 sampleLocations->sampleLocationsInfo.sampleLocationsCount = std::min( in setup_all_sample_locations_at_pixel_center()
318 sampleLocations->sampleLocationsInfo.pSampleLocations = kCenteredSampleLocations; in setup_all_sample_locations_at_pixel_center()
533 VkPipelineSampleLocationsStateCreateInfoEXT sampleLocations; in Make() local
536 setup_all_sample_locations_at_pixel_center(numSamples, &sampleLocations); in Make()
537 sampleLocations.pNext = multisampleInfo.pNext; in Make()
538 multisampleInfo.pNext = &sampleLocations; in Make()