Lines Matching refs:ureg
100 struct ureg_program *ureg; in fd_prog_blit() local
104 ureg = ureg_create(PIPE_SHADER_FRAGMENT); in fd_prog_blit()
105 if (!ureg) in fd_prog_blit()
109 ureg, TGSI_SEMANTIC_GENERIC, 0, TGSI_INTERPOLATE_PERSPECTIVE); in fd_prog_blit()
111 ureg_TEX(ureg, ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, i), in fd_prog_blit()
112 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, i)); in fd_prog_blit()
114 ureg_TEX(ureg, in fd_prog_blit()
116 ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0), in fd_prog_blit()
118 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, rts)); in fd_prog_blit()
120 ureg_END(ureg); in fd_prog_blit()
122 return ureg_create_shader_and_destroy(ureg, pctx); in fd_prog_blit()