Searched refs:rstate (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c4312 struct si_sampler_state *rstate = CALLOC_STRUCT(si_sampler_state); local in function:si_create_sampler_state
4318 if (!rstate) {
4323 rstate->magic = SI_SAMPLER_STATE_MAGIC;
4325 rstate->val[0] = (S_008F30_CLAMP_X(si_tex_wrap(state->wrap_s)) |
4335 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) |
4338 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) |
4346 rstate->val[3] = si_translate_border_color(sctx, state, &state->border_color, false);
4349 memcpy(rstate->integer_val, rstate->val, sizeof(rstate
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c4549 struct si_sampler_state *rstate = CALLOC_STRUCT(si_sampler_state); local in function:si_create_sampler_state
4557 if (!rstate) {
4573 rstate->magic = SI_SAMPLER_STATE_MAGIC;
4575 rstate->val[0] =
4584 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) |
4587 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) |
4592 rstate->val[3] = si_translate_border_color(sctx, state, &state->border_color,
4596 rstate->val[2] |= S_008F38_ANISO_OVERRIDE_GFX10(1);
4598 rstate->val[2] |= S_008F38_DISABLE_LSB_CEIL(sctx->chip_class <= GFX8) |
4604 memcpy(rstate
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_state.c1830 struct r600_pipe_sampler_state *rstate; local in function:r600_emit_sampler_states
1834 rstate = texinfo->states.states[i];
1835 assert(rstate);
1846 rstate->tex_sampler_words[0] |= S_03C000_TEX_ARRAY_OVERRIDE(1);
1849 rstate->tex_sampler_words[0] &= C_03C000_TEX_ARRAY_OVERRIDE;
1855 radeon_emit_array(cs, rstate->tex_sampler_words, 3);
1857 if (rstate->border_color_use) {
1863 radeon_emit_array(cs, rstate->border_color.ui, 4);
H A Dr600_state_common.c465 struct r600_pipe_sampler_state *rstate = rstates[i]; local in function:r600_bind_sampler_states
467 if (rstate == dst->states.states[i]) {
471 if (rstate) {
472 if (rstate->border_color_use) {
477 seamless_cube_map = rstate->seamless_cube_map;
H A Devergreen_state.c2452 struct r600_pipe_sampler_state *rstate; local in function:evergreen_emit_sampler_states
2455 rstate = texinfo->states.states[i];
2456 assert(rstate);
2458 if (rstate->border_color_use) {
2461 evergreen_convert_border_color(&rstate->border_color,
2464 border_color_ptr = &rstate->border_color;
2470 radeon_emit_array(cs, rstate->tex_sampler_words, 3);
2472 if (rstate->border_color_use) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_state.c1833 struct r600_pipe_sampler_state *rstate; local in function:r600_emit_sampler_states
1837 rstate = texinfo->states.states[i];
1838 assert(rstate);
1849 rstate->tex_sampler_words[0] |= S_03C000_TEX_ARRAY_OVERRIDE(1);
1852 rstate->tex_sampler_words[0] &= C_03C000_TEX_ARRAY_OVERRIDE;
1858 radeon_emit_array(cs, rstate->tex_sampler_words, 3);
1860 if (rstate->border_color_use) {
1866 radeon_emit_array(cs, rstate->border_color.ui, 4);
H A Dr600_state_common.c470 struct r600_pipe_sampler_state *rstate = rstates[i]; local in function:r600_bind_sampler_states
472 if (rstate == dst->states.states[i]) {
476 if (rstate) {
477 if (rstate->border_color_use) {
482 seamless_cube_map = rstate->seamless_cube_map;
H A Devergreen_state.c2458 struct r600_pipe_sampler_state *rstate; local in function:evergreen_emit_sampler_states
2461 rstate = texinfo->states.states[i];
2462 assert(rstate);
2464 if (rstate->border_color_use) {
2467 evergreen_convert_border_color(&rstate->border_color,
2470 border_color_ptr = &rstate->border_color;
2476 radeon_emit_array(cs, rstate->tex_sampler_words, 3);
2478 if (rstate->border_color_use) {

Completed in 39 milliseconds