Searched refs:sample_positions (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_msaa.c | 204 si_get_sample_position(&sctx->b, 1, 0, sctx->sample_positions.x1[0]); in si_init_msaa_functions() 207 si_get_sample_position(&sctx->b, 2, i, sctx->sample_positions.x2[i]); in si_init_msaa_functions() 209 si_get_sample_position(&sctx->b, 4, i, sctx->sample_positions.x4[i]); in si_init_msaa_functions() 211 si_get_sample_position(&sctx->b, 8, i, sctx->sample_positions.x8[i]); in si_init_msaa_functions() 213 si_get_sample_position(&sctx->b, 16, i, sctx->sample_positions.x16[i]); in si_init_msaa_functions()
|
D | si_pipe.c | 711 pipe_buffer_create(sctx->b.screen, 0, PIPE_USAGE_DEFAULT, sizeof(sctx->sample_positions)); in si_create_context() 712 pipe_buffer_write(&sctx->b, sctx->sample_pos_buffer, 0, sizeof(sctx->sample_positions), in si_create_context() 713 &sctx->sample_positions); in si_create_context()
|
D | si_state.c | 2853 (ubyte *)sctx->sample_positions.x2 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state() 2857 (ubyte *)sctx->sample_positions.x4 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state() 2861 (ubyte *)sctx->sample_positions.x8 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state() 2865 (ubyte *)sctx->sample_positions.x16 - (ubyte *)sctx->sample_positions.x1; in si_set_framebuffer_state()
|
D | si_pipe.h | 1208 } sample_positions; member
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state_common.c | 1294 ptr = rctx->sample_positions; in r600_update_driver_const_buffers() 1297 memcpy(ptr, rctx->sample_positions, R600_UCP_SIZE); in r600_update_driver_const_buffers() 1333 memcpy(ptr, rctx->sample_positions, R600_UCP_SIZE); in r600_update_driver_const_buffers() 1477 assert(rctx->framebuffer.nr_samples <= ARRAY_SIZE(rctx->sample_positions)/4); in r600_set_sample_locations_constant_buffer() 1479 memset(rctx->sample_positions, 0, 4 * 4 * 16); in r600_set_sample_locations_constant_buffer() 1481 ctx->get_sample_position(ctx, rctx->framebuffer.nr_samples, i, &rctx->sample_positions[4*i]); in r600_set_sample_locations_constant_buffer() 1483 rctx->sample_positions[4*i + 2] = rctx->sample_positions[4*i + 0] - 0.5f; in r600_set_sample_locations_constant_buffer() 1484 rctx->sample_positions[4*i + 3] = rctx->sample_positions[4*i + 1] - 0.5f; in r600_set_sample_locations_constant_buffer()
|
D | r600_pipe.h | 597 float sample_positions[4 * 16]; member
|