Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c204 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()
Dsi_pipe.c711 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()
Dsi_state.c2853 (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()
Dsi_pipe.h1208 } sample_positions; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1294 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()
Dr600_pipe.h597 float sample_positions[4 * 16]; member