| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_linear_priv.h | 67 /* Check for a sampler variant which matches our fetch_row 72 is_nearest_sampler(const struct lp_sampler_static_state *sampler) 75 sampler->texture_state.target == PIPE_TEXTURE_2D && 76 sampler->sampler_state.min_img_filter == PIPE_TEX_FILTER_NEAREST && 77 sampler->sampler_state.mag_img_filter == PIPE_TEX_FILTER_NEAREST && 78 (sampler->texture_state.level_zero_only || 79 sampler->sampler_state.min_mip_filter == PIPE_TEX_MIPFILTER_NONE) && 80 sampler->sampler_state.compare_mode == 0 && 81 sampler->sampler_state.normalized_coords == 1; 85 /* Check for a sampler variant which matches our fetch_ro [all...] |
| lp_tex_sample.c | 57 * This provides the bridge between the sampler state store in 58 * lp_jit_context and lp_jit_texture and the sampler code 60 * the texture sampler code generator in terms of the state stored in 72 * This is the bridge between our sampler and the TGSI translator. 90 * This is the bridge between our sampler and the TGSI translator. 155 * fetch the members of lp_jit_texture to fulfill the sampler code 159 * sampler code generator a reusable module without dependencies to 229 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 308 * fetch the members of lp_jit_image to fulfill the sampler code 312 * sampler code generator a reusable module without dependencies t 368 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 411 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 426 struct lp_llvm_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/ |
| sampler.hpp | 30 class sampler : public ref_counter, public _cl_sampler { class in namespace:clover 32 sampler(clover::context &ctx, bool norm_mode, 36 sampler(const sampler &s) = delete; 37 sampler & 38 operator=(const sampler &s) = delete;
|
| sampler.cpp | 23 #include "core/sampler.hpp" 28 sampler::sampler(clover::context &ctx, bool norm_mode, function in class:sampler 36 sampler::norm_mode() { 41 sampler::addr_mode() { 46 sampler::filter_mode() { 51 sampler::bind(command_queue &q) { 71 sampler::unbind(command_queue &q, void *st) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/ |
| sampler.hpp | 30 class sampler : public ref_counter, public _cl_sampler { class in namespace:clover 32 sampler(clover::context &ctx, bool norm_mode, 36 sampler(const sampler &s) = delete; 37 sampler & 38 operator=(const sampler &s) = delete;
|
| sampler.cpp | 23 #include "core/sampler.hpp" 28 sampler::sampler(clover::context &ctx, bool norm_mode, function in class:sampler 36 sampler::norm_mode() { 41 sampler::addr_mode() { 46 sampler::filter_mode() { 51 sampler::bind(command_queue &q) { 71 sampler::unbind(command_queue &q, void *st) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_texfilter.h | 39 const struct gl_sampler_object *sampler);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_texfilter.h | 39 const struct gl_sampler_object *sampler);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_sampler.c | 110 struct pipe_sampler_state *sampler) 112 memset(sampler, 0, sizeof(*sampler)); 113 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS); 114 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT); 115 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR); 117 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); 118 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); 119 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter); 122 sampler->normalized_coords = 1 280 struct pipe_sampler_state *sampler = samplers + unit; local 305 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/ |
| swr_tex_sample.cpp | 67 * This provides the bridge between the sampler state store in 68 * lp_jit_context and lp_jit_texture and the sampler code 70 * the texture sampler code generator in terms of the state stored in 83 * This is the bridge between our sampler and the TGSI translator. 160 * fetch the members of lp_jit_texture to fulfill the sampler code 164 * sampler code generator a reusable module without dependencies to 258 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 288 swr_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 290 FREE(sampler); 303 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base local 330 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base; local 346 struct swr_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_tex_sample.c | 57 * This provides the bridge between the sampler state store in 58 * lp_jit_context and lp_jit_texture and the sampler code 60 * the texture sampler code generator in terms of the state stored in 72 * This is the bridge between our sampler and the TGSI translator. 130 * fetch the members of lp_jit_texture to fulfill the sampler code 134 * sampler code generator a reusable module without dependencies to 200 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 240 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 242 FREE(sampler); 255 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base local 281 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 295 struct lp_llvm_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/ |
| swr_tex_sample.cpp | 66 * This provides the bridge between the sampler state store in 67 * lp_jit_context and lp_jit_texture and the sampler code 69 * the texture sampler code generator in terms of the state stored in 82 * This is the bridge between our sampler and the TGSI translator. 153 * fetch the members of lp_jit_texture to fulfill the sampler code 157 * sampler code generator a reusable module without dependencies to 242 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 272 swr_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 274 FREE(sampler); 287 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base local 314 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base; local 330 struct swr_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| 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 66 * This is the bridge between our sampler and the TGSI translator. 162 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 170 * fetch the members of lp_jit_texture to fulfill the sampler code 174 * sampler code generator a reusable module without dependencies to 219 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 221 FREE(sampler); 234 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base local 256 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 269 struct draw_llvm_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_sampler.c | 64 struct pipe_sampler_state *sampler, 67 memcpy(sampler, &msamp->Attrib.state, sizeof(*sampler)); 69 sampler->seamless_cube_map |= seamless_cube_map; 72 sampler->min_img_filter = PIPE_TEX_FILTER_NEAREST; 73 sampler->mag_img_filter = PIPE_TEX_FILTER_NEAREST; 77 sampler->normalized_coords = 1; 79 sampler->lod_bias += tex_unit_lod_bias; 96 (sampler->wrap_s | sampler->wrap_t | sampler->wrap_r) & 0x1) 198 struct pipe_sampler_state *sampler = samplers + unit; local 224 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/render_program/ |
| exa_wm_sample_planar.g4i | 30 /* prepare sampler read back gX register, which would be written back to output */ 32 /* use simd16 sampler, param 0 is u, param 1 is v. */ 39 /* emit sampler 'send' cmd */ 46 sampler (1,0,F) /* sampler message description, (binding_table,sampler_index,datatype) 54 sampler (3,0,F) /* sampler message description, (binding_table,sampler_index,datatype) 62 sampler (5,0,F) /* sampler message description, (binding_table,sampler_index,datatype)
|
| exa_wm_src_sample_argb.g4i | 28 /* prepare sampler read back gX register, which would be written back to output */ 30 /* use simd16 sampler, param 0 is u, param 1 is v. */ 38 /* emit sampler 'send' cmd */ 42 sampler (1,0,F) /* sampler message description, (binding_table,sampler_index,datatype)
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/render_program/ |
| exa_wm_sample_planar.g4i | 30 /* prepare sampler read back gX register, which would be written back to output */ 32 /* use simd16 sampler, param 0 is u, param 1 is v. */ 39 /* emit sampler 'send' cmd */ 46 sampler (1,0,F) /* sampler message description, (binding_table,sampler_index,datatype) 54 sampler (3,0,F) /* sampler message description, (binding_table,sampler_index,datatype) 62 sampler (5,0,F) /* sampler message description, (binding_table,sampler_index,datatype)
|
| exa_wm_src_sample_argb.g4i | 28 /* prepare sampler read back gX register, which would be written back to output */ 30 /* use simd16 sampler, param 0 is u, param 1 is v. */ 38 /* emit sampler 'send' cmd */ 42 sampler (1,0,F) /* sampler message description, (binding_table,sampler_index,datatype)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| 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 66 * This is the bridge between our sampler and the TGSI translator. 185 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name); 243 * fetch the members of lp_jit_texture to fulfill the sampler code 247 * sampler code generator a reusable module without dependencies to 317 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 319 FREE(sampler); 332 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base local 371 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 385 struct draw_llvm_sampler_soa *sampler; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| samplerobj.h | 41 if (ctx->Texture.Unit[unit].Sampler) 42 return ctx->Texture.Unit[unit].Sampler; 44 return &ctx->Texture.Unit[unit]._Current->Sampler; 117 _mesa_IsSampler(GLuint sampler); 120 _mesa_BindSampler_no_error(GLuint unit, GLuint sampler); 123 _mesa_BindSampler(GLuint unit, GLuint sampler); 132 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param); 134 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); 136 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params); 138 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_nir_lower_texcmp.c | 91 nir_variable *sampler = NULL; local 97 sampler = nir_deref_instr_get_variable(sampler_deref); 111 sampler->data.binding < state->n_states ? 112 state->compare_func[sampler->data.binding] : COMPARE_FUNC_ALWAYS, 120 nir_ssa_def *r[4] = {lookup[state->tex_swizzles[sampler->data.binding].swizzle_r], 121 lookup[state->tex_swizzles[sampler->data.binding].swizzle_g], 122 lookup[state->tex_swizzles[sampler->data.binding].swizzle_b], 123 lookup[state->tex_swizzles[sampler->data.binding].swizzle_a] 128 sampler->type = strip_shadow_with_array(sampler->type) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| vl_matrix_filter.c | 83 struct ureg_src sampler; local 95 sampler = ureg_DECL_sampler(shader, 0); 116 ureg_TEX(shader, tmp, TGSI_TEXTURE_2D, ureg_src(tmp), sampler); 118 ureg_TEX(shader, tmp, TGSI_TEXTURE_2D, i_vtex, sampler); 139 struct pipe_sampler_state sampler; local 174 memset(&sampler, 0, sizeof(sampler)); 175 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 176 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 177 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| vl_matrix_filter.c | 83 struct ureg_src sampler; local 95 sampler = ureg_DECL_sampler(shader, 0); 116 ureg_TEX(shader, tmp, TGSI_TEXTURE_2D, ureg_src(tmp), sampler); 118 ureg_TEX(shader, tmp, TGSI_TEXTURE_2D, i_vtex, sampler); 139 struct pipe_sampler_state sampler; local 174 memset(&sampler, 0, sizeof(sampler)); 175 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 176 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 177 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| genX_state.c | 176 * Contexts" in SAMPLER MODE register is set to 0, which means 177 * headerless sampler messages are not allowed for pre-emptable 321 struct anv_sampler *sampler; local 325 sampler = vk_zalloc2(&device->alloc, pAllocator, sizeof(*sampler), 8, 327 if (!sampler) 330 sampler->n_planes = 1; 356 sampler->n_planes = conversion->format->n_planes; 357 sampler->conversion = conversion; 378 * for each sampler instead of 16 bytes because we want all bindles [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| 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]; 115 const unsigned ws = sampler->templ->wrap_s; 116 const unsigned wt = sampler->templ->wrap_t [all...] |