Home
last modified time | relevance | path

Searched refs:buffer_en (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c40 unsigned buffer_en, i;
42 buffer_en = (ctx->num_so_targets >= 1 && t[0] ? 1 : 0) |
49 util_bitcount(buffer_en) * 8 +
55 util_bitcount(buffer_en & ctx->streamout_append_bitmask) * 8 +
56 util_bitcount(buffer_en & ~ctx->streamout_append_bitmask) * 6 +
61 evergreen_set_streamout_enable(ctx, buffer_en);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c1093 unsigned buffer_en, i, update_flags = 0; in r600_context_streamout_begin() local
1097 buffer_en = (ctx->num_so_targets >= 1 && t[0] ? 1 : 0) | in r600_context_streamout_begin()
1104 util_bitcount(buffer_en) * 8 + /* STRMOUT_BUFFER_UPDATE */ in r600_context_streamout_begin()
1110 util_bitcount(buffer_en) * 7 + /* SET_CONTEXT_REG */ in r600_context_streamout_begin()
1112 ctx->family <= CHIP_RV740 ? util_bitcount(buffer_en) * 5 : 0) + /* STRMOUT_BASE_UPDATE */ in r600_context_streamout_begin()
1113 util_bitcount(buffer_en & ctx->streamout_append_bitmask) * 8 + /* STRMOUT_BUFFER_UPDATE */ in r600_context_streamout_begin()
1114 util_bitcount(buffer_en & ~ctx->streamout_append_bitmask) * 6 + /* STRMOUT_BUFFER_UPDATE */ in r600_context_streamout_begin()
1123 evergreen_set_streamout_enable(ctx, buffer_en); in r600_context_streamout_begin()
1126 r600_set_streamout_enable(ctx, buffer_en); in r600_context_streamout_begin()