diff options
author | Dave Airlie <[email protected]> | 2020-06-16 12:49:30 +1000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-02 04:12:17 +0000 |
commit | 6e25a5a3756546b49bfaf53a2b16cc9b6d313928 (patch) | |
tree | 8f0d9e63cc6295a66d8c05ef0a05e4bc315b673a /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | 3ca3b07fc1b46824fb7589fe06f9455d9f85bb12 (diff) |
gallivm/nir: refactor image operations for indirect support.
This just refactors the image code, so that outdata is passed
explicitly, and refactors the internal handling of NONE formats.
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3778>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index 9b42d3faad5..399c24df1d6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -706,9 +706,10 @@ lp_build_minify(struct lp_build_context *bld, void lp_build_img_op_soa(const struct lp_static_texture_state *static_texture_state, - struct lp_sampler_dynamic_state *dynamic_state, - struct gallivm_state *gallivm, - const struct lp_img_params *params); + struct lp_sampler_dynamic_state *dynamic_state, + struct gallivm_state *gallivm, + const struct lp_img_params *params, + LLVMValueRef outdata[4]); void lp_build_sample_array_init_soa(struct lp_build_sample_array_switch *switch_info, |