mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
gallivm: Expose lp_build_sample_soa_code
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
This commit is contained in:
parent
e11e8289dd
commit
e1f603b092
2 changed files with 23 additions and 1 deletions
|
|
@ -714,6 +714,28 @@ lp_build_sample_offset(struct lp_build_context *bld,
|
|||
LLVMValueRef *out_j);
|
||||
|
||||
|
||||
void
|
||||
lp_build_sample_soa_code(struct gallivm_state *gallivm,
|
||||
const struct lp_static_texture_state *static_texture_state,
|
||||
const struct lp_static_sampler_state *static_sampler_state,
|
||||
struct lp_sampler_dynamic_state *dynamic_state,
|
||||
struct lp_type type,
|
||||
unsigned sample_key,
|
||||
unsigned texture_index,
|
||||
unsigned sampler_index,
|
||||
LLVMTypeRef resources_type,
|
||||
LLVMValueRef resources_ptr,
|
||||
LLVMTypeRef thread_data_type,
|
||||
LLVMValueRef thread_data_ptr,
|
||||
const LLVMValueRef *coords,
|
||||
const LLVMValueRef *offsets,
|
||||
const struct lp_derivatives *derivs, /* optional */
|
||||
LLVMValueRef lod, /* optional */
|
||||
LLVMValueRef ms_index, /* optional */
|
||||
LLVMValueRef aniso_filter_table,
|
||||
LLVMValueRef texel_out[4]);
|
||||
|
||||
|
||||
void
|
||||
lp_build_sample_soa(const struct lp_static_texture_state *static_texture_state,
|
||||
const struct lp_static_sampler_state *static_sampler_state,
|
||||
|
|
|
|||
|
|
@ -3285,7 +3285,7 @@ lp_build_texel_type(struct lp_type texel_type,
|
|||
* \param sample_key
|
||||
* \param derivs partial derivatives of (s,t,r,q) with respect to x and y
|
||||
*/
|
||||
static void
|
||||
void
|
||||
lp_build_sample_soa_code(struct gallivm_state *gallivm,
|
||||
const struct lp_static_texture_state *static_texture_state,
|
||||
const struct lp_static_sampler_state *static_sampler_state,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue