Searched refs:sampler_state (Results 1 – 3 of 3) sorted by relevance
107 void *sampler_state; member133 struct pipe_sampler_state sampler_state; in util_blitter_create() local206 memset(&sampler_state, 0, sizeof(sampler_state)); in util_blitter_create()207 sampler_state.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in util_blitter_create()208 sampler_state.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in util_blitter_create()209 sampler_state.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in util_blitter_create()210 sampler_state.normalized_coords = 1; in util_blitter_create()211 ctx->sampler_state = pipe->create_sampler_state(pipe, &sampler_state); in util_blitter_create()336 pipe->delete_sampler_state(pipe, ctx->sampler_state); in util_blitter_destroy()1203 void *samplers[2] = {ctx->sampler_state, ctx->sampler_state}; in util_blitter_copy_texture_view()[all …]
780 struct pipe_sampler_state sampler_state; in dxgi_blitter() local781 memset(&sampler_state, 0, sizeof(sampler_state)); in dxgi_blitter()782 sampler_state.min_img_filter = stretch ? PIPE_TEX_FILTER_LINEAR : PIPE_TEX_FILTER_NEAREST; in dxgi_blitter()783 sampler_state.mag_img_filter = stretch ? PIPE_TEX_FILTER_LINEAR : PIPE_TEX_FILTER_NEAREST; in dxgi_blitter()784 sampler_state.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in dxgi_blitter()785 sampler_state.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in dxgi_blitter()786 sampler_state.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in dxgi_blitter()787 sampler_state.normalized_coords = normalized; in dxgi_blitter()789 sampler[stretch] = pipe->create_sampler_state(pipe, &sampler_state); in dxgi_blitter()
278 trace_dump_arg(sampler_state, state); in trace_context_create_sampler_state()