Lines Matching refs:texstate
122 struct r300_textures_state* texstate = r300->textures_state.state; in get_rc_constant_state() local
135 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
143 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
892 struct r300_texture_sampler_state *texstate; in r300_emit_textures_state() local
903 texstate = &allstate->regs[i]; in r300_emit_textures_state()
906 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0); in r300_emit_textures_state()
907 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1); in r300_emit_textures_state()
909 texstate->border_color); in r300_emit_textures_state()
911 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0); in r300_emit_textures_state()
912 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate->format.format1); in r300_emit_textures_state()
913 OUT_CS_REG(R300_TX_FORMAT2_0 + (i * 4), texstate->format.format2); in r300_emit_textures_state()
915 OUT_CS_REG(R300_TX_OFFSET_0 + (i * 4), texstate->format.tile_config); in r300_emit_textures_state()
920 texstate->format.us_format0); in r300_emit_textures_state()
1308 struct r300_textures_state *texstate = in r300_emit_buffer_validate() local
1352 for (i = 0; i < texstate->count; i++) { in r300_emit_buffer_validate()
1353 if (!(texstate->tx_enable & (1 << i))) { in r300_emit_buffer_validate()
1357 tex = r300_resource(texstate->sampler_views[i]->base.texture); in r300_emit_buffer_validate()