diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-05-04 10:06:46 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-05-04 10:08:10 +0100 |
commit | 962558daaed43b0111cd062e32821aad106869d7 (patch) | |
tree | 8304d2206532a69d3dc11740bb007cf604e63daa /src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | |
parent | 3c6756d6f56644784b9e7c2550a6b796e7d1defd (diff) |
gallivm: Implement TXD.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h index 2eac5da6c6..4ca730a98a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h @@ -45,6 +45,9 @@ struct lp_build_context; struct lp_build_mask_context; +#define LP_BLD_SAMPLER_EXPLICIT_DERIVATIVES 1 + + /** * Sampler code generation interface. * @@ -65,6 +68,8 @@ struct lp_build_sampler_soa unsigned unit, unsigned num_coords, const LLVMValueRef *coords, + const LLVMValueRef *ddx, + const LLVMValueRef *ddy, LLVMValueRef lodbias, LLVMValueRef *texel); }; |