Searched refs:sample_locs (Results 1 - 7 of 7) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_msaa.c123 const uint32_t *sample_locs; local in function:si_get_sample_position
128 sample_locs = &sample_locs_1x;
131 sample_locs = &sample_locs_2x;
134 sample_locs = &sample_locs_4x;
137 sample_locs = sample_locs_8x;
140 sample_locs = sample_locs_16x;
144 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f;
145 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f;
150 uint32_t sample_locs)
155 radeon_set_context_reg(cs, R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, sample_locs);
148 si_emit_max_4_sample_locs(struct radeon_cmdbuf * cs,uint64_t centroid_priority,uint32_t sample_locs) argument
161 si_emit_max_16_sample_locs(struct radeon_cmdbuf * cs,uint64_t centroid_priority,const uint32_t * sample_locs,unsigned num_samples) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_msaa.c125 const uint32_t *sample_locs; local in function:si_get_sample_position
130 sample_locs = &sample_locs_1x;
133 sample_locs = &sample_locs_2x;
136 sample_locs = &sample_locs_4x;
139 sample_locs = sample_locs_8x;
142 sample_locs = sample_locs_16x;
146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f;
147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f;
151 uint32_t sample_locs)
157 radeon_set_context_reg(R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, sample_locs);
150 si_emit_max_4_sample_locs(struct radeon_cmdbuf * cs,uint64_t centroid_priority,uint32_t sample_locs) argument
164 si_emit_max_16_sample_locs(struct radeon_cmdbuf * cs,uint64_t centroid_priority,const uint32_t * sample_locs,unsigned num_samples) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_decompress.c551 struct radv_sample_locations_state *sample_locs, enum radv_depth_op op)
566 if (sample_locs) {
575 .sampleLocationsPerPixel = sample_locs->per_pixel,
576 .sampleLocationGridSize = sample_locs->grid_size,
577 .sampleLocationsCount = sample_locs->count,
578 .pSampleLocations = sample_locs->locations,
725 struct radv_sample_locations_state *sample_locs)
733 radv_process_depth_stencil(cmd_buffer, image, subresourceRange, sample_locs, DEPTH_DECOMPRESS);
742 struct radv_sample_locations_state *sample_locs)
750 radv_process_depth_stencil(cmd_buffer, image, subresourceRange, sample_locs, DEPTH_RESUMMARIZ
549 radv_process_depth_stencil(struct radv_cmd_buffer * cmd_buffer,struct radv_image * image,const VkImageSubresourceRange * subresourceRange,struct radv_sample_locations_state * sample_locs,enum radv_depth_op op) argument
723 radv_expand_depth_stencil(struct radv_cmd_buffer * cmd_buffer,struct radv_image * image,const VkImageSubresourceRange * subresourceRange,struct radv_sample_locations_state * sample_locs) argument
740 radv_resummarize_depth_stencil(struct radv_cmd_buffer * cmd_buffer,struct radv_image * image,const VkImageSubresourceRange * subresourceRange,struct radv_sample_locations_state * sample_locs) argument
[all...]
H A Dradv_meta.h210 struct radv_sample_locations_state *sample_locs);
213 struct radv_sample_locations_state *sample_locs);
H A Dradv_meta_resolve.c932 struct radv_sample_locations_state *sample_locs = local in function:radv_decompress_resolve_src
937 .sampleLocationsPerPixel = sample_locs->per_pixel,
938 .sampleLocationGridSize = sample_locs->grid_size,
939 .sampleLocationsCount = sample_locs->count,
940 .pSampleLocations = sample_locs->locations,
H A Dsi_cmd_buffer.c1798 const uint32_t *sample_locs; local in function:radv_get_sample_position
1803 sample_locs = &sample_locs_1x;
1806 sample_locs = &sample_locs_2x;
1809 sample_locs = &sample_locs_4x;
1812 sample_locs = sample_locs_8x;
1816 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f;
1817 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f;
H A Dradv_cmd_buffer.c64 struct radv_sample_locations_state *sample_locs);
838 VkOffset2D *sample_locs)
858 sample_locs[i].x = CLAMP(scaled_pos_x, -8, 7);
859 sample_locs[i].y = CLAMP(scaled_pos_y, -8, 7);
868 radv_compute_sample_locs_pixel(uint32_t num_samples, VkOffset2D *sample_locs, argument
874 int32_t pos_x = sample_locs[i].x;
875 int32_t pos_y = sample_locs[i].y;
890 radv_compute_centroid_priority(struct radv_cmd_buffer *cmd_buffer, VkOffset2D *sample_locs, argument
900 distances[i] = (sample_locs[i].x * sample_locs[
837 radv_convert_user_sample_locs(struct radv_sample_locations_state * state,uint32_t x,uint32_t y,VkOffset2D * sample_locs) argument
934 VkOffset2D sample_locs[4][8]; /* 8 is the max. sample count supported */ local in function:radv_emit_sample_locations
4060 struct radv_sample_locations_state *sample_locs; local in function:radv_handle_subpass_image_transition
4135 const struct VkRenderPassSampleLocationsBeginInfoEXT *sample_locs = local in function:radv_cmd_state_setup_sample_locations
7352 radv_handle_depth_image_transition(struct radv_cmd_buffer * cmd_buffer,struct radv_image * image,VkImageLayout src_layout,bool src_render_loop,VkImageLayout dst_layout,bool dst_render_loop,unsigned src_queue_mask,unsigned dst_queue_mask,const VkImageSubresourceRange * range,struct radv_sample_locations_state * sample_locs) argument
7619 radv_handle_image_transition(struct radv_cmd_buffer * cmd_buffer,struct radv_image * image,VkImageLayout src_layout,bool src_render_loop,VkImageLayout dst_layout,bool dst_render_loop,uint32_t src_family,uint32_t dst_family,const VkImageSubresourceRange * range,struct radv_sample_locations_state * sample_locs) argument
[all...]

Completed in 14 milliseconds