/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_matrix_filter.h | 43 void *sampler; member in struct:vl_matrix_filter
|
H A D | vl_median_filter.h | 51 void *sampler; member in struct:vl_median_filter
|
H A D | vl_matrix_filter.c | 83 struct ureg_src sampler; local 97 sampler = ureg_DECL_sampler(shader, 0); 107 * t_array[0..*] = tex(t_array[0..*], sampler) 123 ureg_TEX(shader, t_array[i], TGSI_TEXTURE_2D, src, sampler); 158 struct pipe_sampler_state sampler; local 190 memset(&sampler, 0, sizeof(sampler)); 191 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 192 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 193 sampler [all...] |
H A D | vl_median_filter.c | 83 struct ureg_src sampler; local 109 sampler = ureg_DECL_sampler(shader, 0); 117 * t_array[0..*] = tex(t_array[0..*], sampler) 132 ureg_TEX(shader, t_array[i], TGSI_TEXTURE_2D, src, sampler); 244 struct pipe_sampler_state sampler; local 276 memset(&sampler, 0, sizeof(sampler)); 277 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 278 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 279 sampler [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | sampler.hpp | 30 typedef struct _cl_sampler sampler; typedef in namespace:clover
|
/external/mesa3d/src/mesa/main/ |
H A D | texobj.h | 92 /** Is the texture "complete" with respect to the given sampler state? */ 95 const struct gl_sampler_object *sampler) 98 (sampler->MagFilter != GL_NEAREST || 99 (sampler->MinFilter != GL_NEAREST && 100 sampler->MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { 105 if (_mesa_is_mipmap_filter(sampler)) 94 _mesa_is_texture_complete(const struct gl_texture_object *texObj, const struct gl_sampler_object *sampler) argument
|
/external/deqp/framework/randomshaders/ |
H A D | rsgSamplers.hpp | 43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument 45 , m_sampler (sampler) 68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument 70 , m_sampler (sampler)
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | image.h | 47 struct pipe_sampler_state sampler; member in struct:vg_image
|
/external/deqp/framework/common/ |
H A D | tcuTexCompareVerifier.cpp | 38 static bool isSamplerSupported (const Sampler& sampler) argument 40 return sampler.compare != Sampler::COMPAREMODE_NONE && 41 isWrapModeSupported(sampler.wrapS) && 42 isWrapModeSupported(sampler.wrapT) && 43 isWrapModeSupported(sampler.wrapR); 134 static float lookupDepth (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) 139 return sampleTextureBorder<float>(access.getFormat(), sampler).x(); 143 static float lookupDepthNoBorder (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k = 0) 145 DE_UNREF(sampler); 539 const Sampler& sampler, [all...] |
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.h | 46 struct pipe_sampler_state sampler; /* bilinear */ member in struct:program
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_sampler_state.c | 33 * Sets the sampler state for a single unit. 37 struct gen7_sampler_state *sampler) 52 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 53 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 57 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 58 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 61 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 62 sampler->ss0.mip_filter = BRW_MIPFILTER_NEAREST; 65 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 66 sampler 36 gen7_update_sampler_state(struct brw_context *brw, int unit, int ss_index, struct gen7_sampler_state *sampler) argument [all...] |
H A D | brw_wm_sampler_state.c | 82 upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler, argument 97 color[0] = sampler->BorderColor.f[0]; 98 color[1] = sampler->BorderColor.f[0]; 99 color[2] = sampler->BorderColor.f[0]; 100 color[3] = sampler->BorderColor.f[0]; 102 color[0] = sampler->BorderColor.f[0]; 103 color[1] = sampler->BorderColor.f[1]; 104 color[2] = sampler->BorderColor.f[2]; 105 color[3] = sampler->BorderColor.f[3]; 156 * Sets the sampler stat 159 brw_update_sampler_state(struct brw_context *brw, int unit, int ss_index, struct brw_sampler_state *sampler) argument [all...] |
H A D | intel_tex_validate.c | 21 struct gl_sampler_object *sampler) 25 if (sampler->MinFilter == GL_NEAREST || 26 sampler->MinFilter == GL_LINEAR) { 41 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 57 intel_update_max_level(intelObj, sampler); 20 intel_update_max_level(struct intel_texture_object *intelObj, struct gl_sampler_object *sampler) argument
|
/external/mesa3d/src/mesa/program/ |
H A D | sampler.cpp | 77 /* GLSL 1.10 and 1.20 allowed variable sampler array indices, 85 "warning: Variable sampler array index unsupported.\n" 107 _mesa_get_sampler_uniform_value(class ir_dereference *sampler, argument 111 get_sampler_name getname(sampler, shader_program); 113 sampler->accept(&getname); 118 "failed to find sampler named %s.\n", getname.name); 122 return shader_program->UniformStorage[location].sampler + getname.offset;
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_sampler.c | 41 * There is a circular dependancy between the sampler state 50 * is set on the map state instead of the sampler state. That is 55 * we need to change the sampler state when map state is changed. 64 const struct i915_sampler_state *sampler, 84 const struct i915_sampler_state *sampler, 91 state[0] = sampler->state[0]; 92 state[1] = sampler->state[1]; 93 state[2] = sampler->state[2]; 111 const unsigned ws = sampler->templ->wrap_s; 112 const unsigned wt = sampler 82 update_sampler(struct i915_context *i915, uint unit, const struct i915_sampler_state *sampler, const struct i915_texture *tex, unsigned state[3]) argument 294 update_map(struct i915_context *i915, uint unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view* view, uint state[2]) argument [all...] |
/external/mesa3d/src/glsl/ |
H A D | ir_uniform.h | 99 * Base sampler index 102 * this sampler. If \c ::array_elements is not zero, the array will use 103 * sampler indexes \c ::sampler through \c ::sampler + \c ::array_elements 106 uint8_t sampler; member in struct:gl_uniform_storage
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_validate.c | 21 struct gl_sampler_object *sampler) 25 if (sampler->MinFilter == GL_NEAREST || 26 sampler->MinFilter == GL_LINEAR) { 41 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 57 intel_update_max_level(intelObj, sampler); 20 intel_update_max_level(struct intel_texture_object *intelObj, struct gl_sampler_object *sampler) argument
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_validate.c | 21 struct gl_sampler_object *sampler) 25 if (sampler->MinFilter == GL_NEAREST || 26 sampler->MinFilter == GL_LINEAR) { 41 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 57 intel_update_max_level(intelObj, sampler); 20 intel_update_max_level(struct intel_texture_object *intelObj, struct gl_sampler_object *sampler) argument
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_sampler.c | 128 struct pipe_sampler_state *sampler, 142 memset(sampler, 0, sizeof(*sampler)); 143 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS); 144 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT); 145 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR); 147 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); 148 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); 149 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter); 152 sampler 127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument 229 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm_sample.c | 51 * This provides the bridge between the sampler state store in 52 * lp_jit_context and lp_jit_texture and the sampler code 54 * the texture sampler code generator in terms of the state stored in 68 * This is the bridge between our sampler and the TGSI translator. 127 * fetch the members of lp_jit_texture to fulfill the sampler code 131 * sampler code generator a reusable module without dependencies to 159 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument 161 FREE(sampler); 181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 186 &sampler 208 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 225 struct draw_llvm_sampler_soa *sampler; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_sampler.c | 46 const struct pipe_sampler_state *sampler) 48 struct pipe_sampler_state *state = mem_dup(sampler, sizeof *sampler); 160 /* set the new sampler views */ 241 void *sampler) 243 FREE( sampler ); 45 llvmpipe_create_sampler_state(struct pipe_context *pipe, const struct pipe_sampler_state *sampler) argument 240 llvmpipe_delete_sampler_state(struct pipe_context *pipe, void *sampler) argument
|
H A D | lp_tex_sample.c | 56 * This provides the bridge between the sampler state store in 57 * lp_jit_context and lp_jit_texture and the sampler code 59 * the texture sampler code generator in terms of the state stored in 73 * This is the bridge between our sampler and the TGSI translator. 132 * fetch the members of lp_jit_texture to fulfill the sampler code 136 * sampler code generator a reusable module without dependencies to 164 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument 166 FREE(sampler); 186 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 196 &sampler 217 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 235 struct lp_llvm_sampler_soa *sampler; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_sampler.c | 50 static struct sp_sampler *sp_sampler( struct pipe_sampler_state *sampler ) 52 return (struct sp_sampler *)sampler; 58 const struct pipe_sampler_state *sampler) 62 sp_sampler->base = *sampler; 195 /* set the new sampler views */ 251 * sampler and tex unit. 253 * Note that the tex unit is significant. We can't re-use a sampler 254 * variant for multiple texture units because the sampler variant contains 256 * somewhere outside the sampler variant, we could re-use samplers for 261 struct sp_sampler *sampler, 57 softpipe_create_sampler_state(struct pipe_context *pipe, const struct pipe_sampler_state *sampler) argument 260 get_sampler_variant( unsigned unit, struct sp_sampler *sampler, struct pipe_sampler_view *view, unsigned processor ) argument 360 softpipe_delete_sampler_state(struct pipe_context *pipe, void *sampler) argument [all...] |
H A D | sp_tex_sample.h | 47 typedef float (*compute_lambda_func)(const struct sp_sampler_variant *sampler, 96 const struct pipe_sampler_state *sampler; member in struct:sp_sampler_variant 137 /* Create a sampler variant for a given set of non-orthogonal state. Currently the 140 sp_create_sampler_variant( const struct pipe_sampler_state *sampler, 152 sp_sampler_variant(const struct tgsi_sampler *sampler) argument 154 return (struct sp_sampler_variant *) sampler;
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_sampler.c | 96 const struct pipe_sampler_state *sampler) 104 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter); 105 cso->magfilter = translate_img_filter( sampler->mag_img_filter ); 106 cso->minfilter = translate_img_filter( sampler->min_img_filter ); 107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); 108 if(sampler->max_anisotropy) 110 cso->lod_bias = sampler->lod_bias; 111 cso->addressu = translate_wrap_mode(sampler->wrap_s); 112 cso->addressv = translate_wrap_mode(sampler->wrap_t); 113 cso->addressw = translate_wrap_mode(sampler 95 svga_create_sampler_state(struct pipe_context *pipe, const struct pipe_sampler_state *sampler) argument 191 svga_bind_fragment_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument 198 svga_delete_sampler_state(struct pipe_context *pipe, void *sampler) argument [all...] |