• Home
  • Raw
  • Download

Lines Matching refs:cso

66 util_set_framebuffer_cb0(struct cso_context *cso, struct pipe_context *ctx,  in util_set_framebuffer_cb0()  argument
80 cso_set_framebuffer(cso, &fb); in util_set_framebuffer_cb0()
85 util_set_blend_normal(struct cso_context *cso) in util_set_blend_normal() argument
90 cso_set_blend(cso, &blend); in util_set_blend_normal()
94 util_set_dsa_disable(struct cso_context *cso) in util_set_dsa_disable() argument
98 cso_set_depth_stencil_alpha(cso, &dsa); in util_set_dsa_disable()
102 util_set_rasterizer_normal(struct cso_context *cso) in util_set_rasterizer_normal() argument
110 cso_set_rasterizer(cso, &rs); in util_set_rasterizer_normal()
114 util_set_max_viewport(struct cso_context *cso, struct pipe_resource *tex) in util_set_max_viewport() argument
125 cso_set_viewport(cso, &viewport); in util_set_max_viewport()
129 util_set_interleaved_vertex_elements(struct cso_context *cso, in util_set_interleaved_vertex_elements() argument
141 cso_set_vertex_elements(cso, num_elements, velem); in util_set_interleaved_vertex_elements()
146 util_set_passthrough_vertex_shader(struct cso_context *cso, in util_set_passthrough_vertex_shader() argument
159 cso_set_vertex_shader_handle(cso, vs); in util_set_passthrough_vertex_shader()
164 util_set_common_states_and_clear(struct cso_context *cso, struct pipe_context *ctx, in util_set_common_states_and_clear() argument
169 util_set_framebuffer_cb0(cso, ctx, cb); in util_set_common_states_and_clear()
170 util_set_blend_normal(cso); in util_set_common_states_and_clear()
171 util_set_dsa_disable(cso); in util_set_common_states_and_clear()
172 util_set_rasterizer_normal(cso); in util_set_common_states_and_clear()
173 util_set_max_viewport(cso, cb); in util_set_common_states_and_clear()
179 util_draw_fullscreen_quad(struct cso_context *cso) in util_draw_fullscreen_quad() argument
187 util_set_interleaved_vertex_elements(cso, 2); in util_draw_fullscreen_quad()
188 util_draw_user_vertex_buffer(cso, vertices, PIPE_PRIM_QUADS, 4, 2); in util_draw_fullscreen_quad()
295 struct cso_context *cso; in tgsi_vs_window_space_position() local
307 cso = cso_create_context(ctx, 0); in tgsi_vs_window_space_position()
310 util_set_common_states_and_clear(cso, ctx, cb); in tgsi_vs_window_space_position()
315 cso_set_fragment_shader_handle(cso, fs); in tgsi_vs_window_space_position()
318 vs = util_set_passthrough_vertex_shader(cso, ctx, true); in tgsi_vs_window_space_position()
328 util_set_interleaved_vertex_elements(cso, 2); in tgsi_vs_window_space_position()
329 util_draw_user_vertex_buffer(cso, vertices, PIPE_PRIM_QUADS, 4, 2); in tgsi_vs_window_space_position()
337 cso_destroy_context(cso); in tgsi_vs_window_space_position()
348 struct cso_context *cso; in null_sampler_view() local
367 cso = cso_create_context(ctx, 0); in null_sampler_view()
370 util_set_common_states_and_clear(cso, ctx, cb); in null_sampler_view()
379 cso_set_fragment_shader_handle(cso, fs); in null_sampler_view()
382 vs = util_set_passthrough_vertex_shader(cso, ctx, false); in null_sampler_view()
383 util_draw_fullscreen_quad(cso); in null_sampler_view()
391 cso_destroy_context(cso); in null_sampler_view()
404 struct cso_context *cso; in util_test_constant_buffer() local
410 cso = cso_create_context(ctx, 0); in util_test_constant_buffer()
413 util_set_common_states_and_clear(cso, ctx, cb); in util_test_constant_buffer()
436 cso_set_fragment_shader_handle(cso, fs); in util_test_constant_buffer()
440 vs = util_set_passthrough_vertex_shader(cso, ctx, false); in util_test_constant_buffer()
441 util_draw_fullscreen_quad(cso); in util_test_constant_buffer()
448 cso_destroy_context(cso); in util_test_constant_buffer()
459 struct cso_context *cso; in null_fragment_shader() local
466 cso = cso_create_context(ctx, 0); in null_fragment_shader()
469 util_set_common_states_and_clear(cso, ctx, cb); in null_fragment_shader()
473 cso_set_rasterizer(cso, &rs); in null_fragment_shader()
475 vs = util_set_passthrough_vertex_shader(cso, ctx, false); in null_fragment_shader()
479 util_draw_fullscreen_quad(cso); in null_fragment_shader()
484 cso_destroy_context(cso); in null_fragment_shader()
509 struct cso_context *cso = cso_create_context(ctx, 0); in test_sync_file_fences() local
588 cso_destroy_context(cso); in test_sync_file_fences()