Lines Matching refs:tview
762 struct vrend_sampler_view *tview);
4198 struct vrend_sampler_view *tview = sviews->views[i]; in vrend_draw_bind_samplers_shader() local
4199 if (tview) { in vrend_draw_bind_samplers_shader()
4202 … (tview->gl_swizzle[0] == GL_ZERO || tview->gl_swizzle[0] == GL_ONE) ? 0.0 : 1.0, in vrend_draw_bind_samplers_shader()
4203 … (tview->gl_swizzle[1] == GL_ZERO || tview->gl_swizzle[1] == GL_ONE) ? 0.0 : 1.0, in vrend_draw_bind_samplers_shader()
4204 … (tview->gl_swizzle[2] == GL_ZERO || tview->gl_swizzle[2] == GL_ONE) ? 0.0 : 1.0, in vrend_draw_bind_samplers_shader()
4205 … (tview->gl_swizzle[3] == GL_ZERO || tview->gl_swizzle[3] == GL_ONE) ? 0.0 : 1.0); in vrend_draw_bind_samplers_shader()
4207 tview->gl_swizzle[0] == GL_ONE ? 1.0 : 0.0, in vrend_draw_bind_samplers_shader()
4208 tview->gl_swizzle[1] == GL_ONE ? 1.0 : 0.0, in vrend_draw_bind_samplers_shader()
4209 tview->gl_swizzle[2] == GL_ONE ? 1.0 : 0.0, in vrend_draw_bind_samplers_shader()
4210 tview->gl_swizzle[3] == GL_ONE ? 1.0 : 0.0); in vrend_draw_bind_samplers_shader()
4213 if (tview->texture) { in vrend_draw_bind_samplers_shader()
4214 GLuint id = tview->id; in vrend_draw_bind_samplers_shader()
4215 struct vrend_resource *texture = tview->texture; in vrend_draw_bind_samplers_shader()
4216 GLenum target = tview->target; in vrend_draw_bind_samplers_shader()
4218 debug_texture(__func__, tview->texture); in vrend_draw_bind_samplers_shader()
4220 if (has_bit(tview->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_draw_bind_samplers_shader()
4231 next_sampler_id, tview); in vrend_draw_bind_samplers_shader()
5708 struct vrend_sampler_view *tview) in vrend_apply_sampler_state() argument
5735 bool is_emulated_alpha = vrend_format_is_emulated_alpha(tview->format); in vrend_apply_sampler_state()
5737 int sampler = vstate->ids[tview->srgb_decode == GL_SKIP_DECODE_EXT ? 0 : 1]; in vrend_apply_sampler_state()
5746 if (get_swizzled_border_color(tview->format, &state->border_color, &border_color)) in vrend_apply_sampler_state()
5812 if (get_swizzled_border_color(tview->format, &state->border_color, &border_color)) in vrend_apply_sampler_state()