Home
last modified time | relevance | path

Searched refs:sampler_state (Results 1 – 5 of 5) 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/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp877 auto sampler_state = getSamplerState(dev_data, sampler_); in BindCommandBuffer() local
878 if (sampler_state) in BindCommandBuffer()
879 core_validation::AddCommandBufferBindingSampler(cb_node, sampler_state); in BindCommandBuffer()
924 auto sampler_state = getSamplerState(dev_data, sampler_); in BindCommandBuffer() local
925 if (sampler_state) in BindCommandBuffer()
926 core_validation::AddCommandBufferBindingSampler(cb_node, sampler_state); in BindCommandBuffer()
Dcore_validation.cpp597 void AddCommandBufferBindingSampler(GLOBAL_CB_NODE *cb_node, SAMPLER_STATE *sampler_state) { in AddCommandBufferBindingSampler() argument
598 sampler_state->cb_bindings.insert(cb_node); in AddCommandBufferBindingSampler()
600 … {reinterpret_cast<uint64_t &>(sampler_state->sampler), VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT}); in AddCommandBufferBindingSampler()
6020 …eCallValidateDestroySampler(layer_data *dev_data, VkSampler sampler, SAMPLER_STATE **sampler_state, in PreCallValidateDestroySampler() argument
6022 *sampler_state = getSamplerState(dev_data, sampler); in PreCallValidateDestroySampler()
6027 if (*sampler_state) { in PreCallValidateDestroySampler()
6028 … skip |= ValidateObjectNotInUse(dev_data, *sampler_state, *obj_struct, VALIDATION_ERROR_00837); in PreCallValidateDestroySampler()
6033 …PostCallRecordDestroySampler(layer_data *dev_data, VkSampler sampler, SAMPLER_STATE *sampler_state, in PostCallRecordDestroySampler() argument
6036 if (sampler_state) in PostCallRecordDestroySampler()
6037 invalidateCommandBuffers(sampler_state->cb_bindings, obj_struct); in PostCallRecordDestroySampler()
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c278 trace_dump_arg(sampler_state, state); in trace_context_create_sampler_state()