Lines Matching refs:sv_temp
175 struct pipe_sampler_view sv_temp; in init_tex() local
176 memset(&sv_temp, 0, sizeof sv_temp); in init_tex()
177 sv_temp.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex()
178 sv_temp.texture = texture; in init_tex()
179 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
180 sv_temp.swizzle_g = PIPE_SWIZZLE_Y; in init_tex()
181 sv_temp.swizzle_b = PIPE_SWIZZLE_Z; in init_tex()
182 sv_temp.swizzle_a = PIPE_SWIZZLE_W; in init_tex()
183 linear_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp); in init_tex()
190 struct pipe_sampler_view sv_temp; in init_tex() local
191 memset(&sv_temp, 0, sizeof sv_temp); in init_tex()
192 sv_temp.format = PIPE_FORMAT_B8G8R8A8_SRGB; in init_tex()
193 sv_temp.texture = texture; in init_tex()
194 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
195 sv_temp.swizzle_g = PIPE_SWIZZLE_Y; in init_tex()
196 sv_temp.swizzle_b = PIPE_SWIZZLE_Z; in init_tex()
197 sv_temp.swizzle_a = PIPE_SWIZZLE_W; in init_tex()
198 srgb_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp); in init_tex()