Home
last modified time | relevance | path

Searched refs:sampler_state (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c107 void *sampler_state; member
133 struct pipe_sampler_state sampler_state; in util_blitter_create() local
206 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 …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp780 struct pipe_sampler_state sampler_state; in dxgi_blitter() local
781 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()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c278 trace_dump_arg(sampler_state, state); in trace_context_create_sampler_state()