Lines Matching refs:sampler
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)
166 FREE(sampler);
186 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base;
196 &sampler->dynamic_state.static_state[unit],
197 &sampler->dynamic_state.base,
217 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base;
222 &sampler->dynamic_state.static_state[unit],
223 &sampler->dynamic_state.base,
235 struct lp_llvm_sampler_soa *sampler;
237 sampler = CALLOC_STRUCT(lp_llvm_sampler_soa);
238 if(!sampler)
241 sampler->base.destroy = lp_llvm_sampler_soa_destroy;
242 sampler->base.emit_fetch_texel = lp_llvm_sampler_soa_emit_fetch_texel;
243 sampler->base.emit_size_query = lp_llvm_sampler_soa_emit_size_query;
244 sampler->dynamic_state.base.width = lp_llvm_texture_width;
245 sampler->dynamic_state.base.height = lp_llvm_texture_height;
246 sampler->dynamic_state.base.depth = lp_llvm_texture_depth;
247 sampler->dynamic_state.base.first_level = lp_llvm_texture_first_level;
248 sampler->dynamic_state.base.last_level = lp_llvm_texture_last_level;
249 sampler->dynamic_state.base.row_stride = lp_llvm_texture_row_stride;
250 sampler->dynamic_state.base.img_stride = lp_llvm_texture_img_stride;
251 sampler->dynamic_state.base.data_ptr = lp_llvm_texture_data_ptr;
252 sampler->dynamic_state.base.min_lod = lp_llvm_texture_min_lod;
253 sampler->dynamic_state.base.max_lod = lp_llvm_texture_max_lod;
254 sampler->dynamic_state.base.lod_bias = lp_llvm_texture_lod_bias;
255 sampler->dynamic_state.base.border_color = lp_llvm_texture_border_color;
257 sampler->dynamic_state.static_state = static_state;
258 sampler->dynamic_state.context_ptr = context_ptr;
260 return &sampler->base;