Searched refs:sample_locs (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_msaa.c | 125 const uint32_t *sample_locs; in si_get_sample_position() local 130 sample_locs = &sample_locs_1x; in si_get_sample_position() 133 sample_locs = &sample_locs_2x; in si_get_sample_position() 136 sample_locs = &sample_locs_4x; in si_get_sample_position() 139 sample_locs = sample_locs_8x; in si_get_sample_position() 142 sample_locs = sample_locs_16x; in si_get_sample_position() 146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position() 147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position() 151 uint32_t sample_locs) in si_emit_max_4_sample_locs() argument 156 radeon_set_context_reg(cs, R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, sample_locs); in si_emit_max_4_sample_locs() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_decompress.c | 477 struct radv_sample_locations_state *sample_locs, in radv_process_depth_stencil() argument 498 if (sample_locs) { in radv_process_depth_stencil() 506 .sampleLocationsPerPixel = sample_locs->per_pixel, in radv_process_depth_stencil() 507 .sampleLocationGridSize = sample_locs->grid_size, in radv_process_depth_stencil() 508 .sampleLocationsCount = sample_locs->count, in radv_process_depth_stencil() 509 .pSampleLocations = sample_locs->locations, in radv_process_depth_stencil() 549 struct radv_sample_locations_state *sample_locs) in radv_decompress_depth_stencil() argument 558 sample_locs, DEPTH_DECOMPRESS); in radv_decompress_depth_stencil() 564 struct radv_sample_locations_state *sample_locs) in radv_resummarize_depth_stencil() argument 573 sample_locs, DEPTH_RESUMMARIZE); in radv_resummarize_depth_stencil()
|
D | radv_cmd_buffer.c | 63 struct radv_sample_locations_state *sample_locs); 759 uint32_t x, uint32_t y, VkOffset2D *sample_locs) in radv_convert_user_sample_locs() argument 779 sample_locs[i].x = CLAMP(scaled_pos_x, -8, 7); in radv_convert_user_sample_locs() 780 sample_locs[i].y = CLAMP(scaled_pos_y, -8, 7); in radv_convert_user_sample_locs() 789 radv_compute_sample_locs_pixel(uint32_t num_samples, VkOffset2D *sample_locs, in radv_compute_sample_locs_pixel() argument 795 int32_t pos_x = sample_locs[i].x; in radv_compute_sample_locs_pixel() 796 int32_t pos_y = sample_locs[i].y; in radv_compute_sample_locs_pixel() 812 VkOffset2D *sample_locs, in radv_compute_centroid_priority() argument 822 distances[i] = (sample_locs[i].x * sample_locs[i].x) + in radv_compute_centroid_priority() 823 (sample_locs[i].y * sample_locs[i].y); in radv_compute_centroid_priority() [all …]
|
D | radv_meta.h | 200 struct radv_sample_locations_state *sample_locs); 204 struct radv_sample_locations_state *sample_locs);
|
D | radv_meta_resolve.c | 999 struct radv_sample_locations_state *sample_locs = in radv_decompress_resolve_src() local 1004 .sampleLocationsPerPixel = sample_locs->per_pixel, in radv_decompress_resolve_src() 1005 .sampleLocationGridSize = sample_locs->grid_size, in radv_decompress_resolve_src() 1006 .sampleLocationsCount = sample_locs->count, in radv_decompress_resolve_src() 1007 .pSampleLocations = sample_locs->locations, in radv_decompress_resolve_src()
|
D | si_cmd_buffer.c | 1938 const uint32_t *sample_locs; in radv_get_sample_position() local 1943 sample_locs = &sample_locs_1x; in radv_get_sample_position() 1946 sample_locs = &sample_locs_2x; in radv_get_sample_position() 1949 sample_locs = &sample_locs_4x; in radv_get_sample_position() 1952 sample_locs = sample_locs_8x; in radv_get_sample_position() 1956 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f; in radv_get_sample_position() 1957 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f; in radv_get_sample_position()
|