Home
last modified time | relevance | path

Searched refs:sample_locs (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c125 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/
Dradv_meta_decompress.c477 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()
Dradv_cmd_buffer.c63 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 …]
Dradv_meta.h200 struct radv_sample_locations_state *sample_locs);
204 struct radv_sample_locations_state *sample_locs);
Dradv_meta_resolve.c999 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()
Dsi_cmd_buffer.c1938 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()