diff options
author | Olivier Galibert <[email protected]> | 2012-05-17 16:48:54 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-05-18 00:27:28 +0100 |
commit | 5d10d757276a599a60a68b88b21087b5824a8df7 (patch) | |
tree | b27a03dec6ac9b33f0522caf2b5e306229dbecce /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | 1ec421823b1263a7b482adf48a15b186ea91efd2 (diff) |
llvmpipe: Implement TXQ.
Piglits test for fragment shaders pass, vertex shaders fail. The
actual failure seems to be in the interpolators, and not the
textureSize query.
Signed-off-by: Olivier Galibert <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index a71e656fe0e..8ccba2ca09e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -405,8 +405,22 @@ lp_build_sample_soa(struct gallivm_state *gallivm, LLVMValueRef texel_out[4]); void +lp_build_size_query_soa(struct gallivm_state *gallivm, + const struct lp_sampler_static_state *static_state, + struct lp_sampler_dynamic_state *dynamic_state, + unsigned unit, + LLVMValueRef explicit_lod, + LLVMValueRef *sizes_out); + +void lp_build_sample_nop(struct gallivm_state *gallivm, struct lp_type type, LLVMValueRef texel_out[4]); +LLVMValueRef +lp_build_minify(struct lp_build_context *bld, + LLVMValueRef base_size, + LLVMValueRef level); + + #endif /* LP_BLD_SAMPLE_H */ |