Lines Matching refs:pipe
30 #include "pipe/p_format.h"
31 #include "pipe/p_context.h"
32 #include "pipe/p_state.h"
33 #include "pipe/p_shader_tokens.h"
142 create_vs(struct pipe_context *pipe, unsigned vs_traits)
190 return ureg_create_shader_and_destroy(ureg, pipe);
194 create_yuv_shader(struct pipe_context *pipe, struct ureg_program *ureg)
253 return ureg_create_shader_and_destroy(ureg, pipe);
340 create_fs(struct pipe_context *pipe, unsigned fs_traits)
374 return create_yuv_shader(pipe, ureg);
418 return ureg_create_shader_and_destroy(ureg, pipe);
434 cache_destroy(struct pipe_context *pipe,
443 pipe->delete_fs_state(pipe, shader);
445 pipe->delete_vs_state(pipe, shader);
455 cache_destroy(sc->r->pipe, &sc->vs_hash, PIPE_SHADER_VERTEX);
456 cache_destroy(sc->r->pipe, &sc->fs_hash, PIPE_SHADER_FRAGMENT);
462 shader_from_cache(struct pipe_context *pipe,
471 shader = create_vs(pipe, key);
473 shader = create_fs(pipe, key);
487 vs = shader_from_cache(sc->r->pipe, PIPE_SHADER_VERTEX,
489 fs = shader_from_cache(sc->r->pipe, PIPE_SHADER_FRAGMENT,