Lines Matching refs:sampler
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)
161 FREE(sampler);
181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base;
186 &sampler->dynamic_state.static_state[unit],
187 &sampler->dynamic_state.base,
208 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base;
213 &sampler->dynamic_state.static_state[unit],
214 &sampler->dynamic_state.base,
225 struct draw_llvm_sampler_soa *sampler;
227 sampler = CALLOC_STRUCT(draw_llvm_sampler_soa);
228 if(!sampler)
231 sampler->base.destroy = draw_llvm_sampler_soa_destroy;
232 sampler->base.emit_fetch_texel = draw_llvm_sampler_soa_emit_fetch_texel;
233 sampler->base.emit_size_query = draw_llvm_sampler_soa_emit_size_query;
234 sampler->dynamic_state.base.width = draw_llvm_texture_width;
235 sampler->dynamic_state.base.height = draw_llvm_texture_height;
236 sampler->dynamic_state.base.depth = draw_llvm_texture_depth;
237 sampler->dynamic_state.base.first_level = draw_llvm_texture_first_level;
238 sampler->dynamic_state.base.last_level = draw_llvm_texture_last_level;
239 sampler->dynamic_state.base.row_stride = draw_llvm_texture_row_stride;
240 sampler->dynamic_state.base.img_stride = draw_llvm_texture_img_stride;
241 sampler->dynamic_state.base.data_ptr = draw_llvm_texture_data_ptr;
242 sampler->dynamic_state.base.min_lod = draw_llvm_texture_min_lod;
243 sampler->dynamic_state.base.max_lod = draw_llvm_texture_max_lod;
244 sampler->dynamic_state.base.lod_bias = draw_llvm_texture_lod_bias;
245 sampler->dynamic_state.base.border_color = draw_llvm_texture_border_color;
246 sampler->dynamic_state.static_state = static_state;
247 sampler->dynamic_state.context_ptr = context_ptr;
249 return &sampler->base;