Searched refs:sv_temp (Results 1 – 2 of 2) sorted by relevance
175 struct pipe_sampler_view sv_temp; in init_tex() local176 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[all …]
314 struct pipe_sampler_view sv_temp; in graw_util_create_simple_sampler_view() local317 memset(&sv_temp, 0, sizeof(sv_temp)); in graw_util_create_simple_sampler_view()318 sv_temp.format = texture->format; in graw_util_create_simple_sampler_view()319 sv_temp.texture = texture; in graw_util_create_simple_sampler_view()320 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in graw_util_create_simple_sampler_view()321 sv_temp.swizzle_g = PIPE_SWIZZLE_Y; in graw_util_create_simple_sampler_view()322 sv_temp.swizzle_b = PIPE_SWIZZLE_Z; in graw_util_create_simple_sampler_view()323 sv_temp.swizzle_a = PIPE_SWIZZLE_W; in graw_util_create_simple_sampler_view()325 sv = info->ctx->create_sampler_view(info->ctx, texture, &sv_temp); in graw_util_create_simple_sampler_view()