Home | History | Annotate | Download | only in graw

Lines Matching refs:sv_temp

172       struct pipe_sampler_view sv_temp;
173 memset(&sv_temp, 0, sizeof sv_temp);
174 sv_temp.format = PIPE_FORMAT_B8G8R8A8_UNORM;
175 sv_temp.texture = texture;
176 sv_temp.swizzle_r = PIPE_SWIZZLE_RED;
177 sv_temp.swizzle_g = PIPE_SWIZZLE_GREEN;
178 sv_temp.swizzle_b = PIPE_SWIZZLE_BLUE;
179 sv_temp.swizzle_a = PIPE_SWIZZLE_ALPHA;
180 linear_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp);
187 struct pipe_sampler_view sv_temp;
188 memset(&sv_temp, 0, sizeof sv_temp);
189 sv_temp.format = PIPE_FORMAT_B8G8R8A8_SRGB;
190 sv_temp.texture = texture;
191 sv_temp.swizzle_r = PIPE_SWIZZLE_RED;
192 sv_temp.swizzle_g = PIPE_SWIZZLE_GREEN;
193 sv_temp.swizzle_b = PIPE_SWIZZLE_BLUE;
194 sv_temp.swizzle_a = PIPE_SWIZZLE_ALPHA;
195 srgb_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp);