Home
last modified time | relevance | path

Searched refs:sample_positions (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c208 si_get_sample_position(&sctx->b, 1, 0, sctx->sample_positions.x1[0]); in si_init_msaa_functions()
211 si_get_sample_position(&sctx->b, 2, i, sctx->sample_positions.x2[i]); in si_init_msaa_functions()
213 si_get_sample_position(&sctx->b, 4, i, sctx->sample_positions.x4[i]); in si_init_msaa_functions()
215 si_get_sample_position(&sctx->b, 8, i, sctx->sample_positions.x8[i]); in si_init_msaa_functions()
217 si_get_sample_position(&sctx->b, 16, i, sctx->sample_positions.x16[i]); in si_init_msaa_functions()
Dsi_state.c2988 sizeof(sctx->sample_positions), in si_set_framebuffer_state()
2989 &sctx->sample_positions); in si_set_framebuffer_state()
3000 (ubyte *)sctx->sample_positions.x2 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state()
3004 (ubyte *)sctx->sample_positions.x4 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state()
3008 (ubyte *)sctx->sample_positions.x8 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state()
3012 (ubyte *)sctx->sample_positions.x16 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state()
Dsi_pipe.h1195 } sample_positions; member
/third_party/mesa3d/src/panfrost/lib/
Dpan_samples.c135 return dev->sample_positions->ptr.gpu + offset; in panfrost_sample_positions()
142 dev->sample_positions = panfrost_bo_create(dev, 4096, 0, "Sample positions"); in panfrost_upload_sample_positions()
144 memcpy(dev->sample_positions->ptr.cpu, sample_position_lut, in panfrost_upload_sample_positions()
Dpan_device.h223 struct panfrost_bo *sample_positions; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1325 ptr = rctx->sample_positions; in r600_update_driver_const_buffers()
1328 memcpy(ptr, rctx->sample_positions, R600_UCP_SIZE); in r600_update_driver_const_buffers()
1364 memcpy(ptr, rctx->sample_positions, R600_UCP_SIZE); in r600_update_driver_const_buffers()
1508 assert(rctx->framebuffer.nr_samples <= ARRAY_SIZE(rctx->sample_positions)/4); in r600_set_sample_locations_constant_buffer()
1510 memset(rctx->sample_positions, 0, 4 * 4 * 16); in r600_set_sample_locations_constant_buffer()
1512 ctx->get_sample_position(ctx, rctx->framebuffer.nr_samples, i, &rctx->sample_positions[4*i]); in r600_set_sample_locations_constant_buffer()
1514 rctx->sample_positions[4*i + 2] = rctx->sample_positions[4*i + 0] - 0.5f; in r600_set_sample_locations_constant_buffer()
1515 rctx->sample_positions[4*i + 3] = rctx->sample_positions[4*i + 1] - 0.5f; in r600_set_sample_locations_constant_buffer()
Dr600_pipe.h600 float sample_positions[4 * 16]; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_device.c262 bos[bo_idx++] = pdev->sample_positions->gem_handle; in panvk_per_arch()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c627 bo_handles[submit.bo_handle_count++] = dev->sample_positions->gem_handle; in panfrost_batch_submit_ioctl()