diff options
author | José Fonseca <[email protected]> | 2010-09-02 12:14:39 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-09-11 13:25:46 +0100 |
commit | 58daea741fa21fe3f89fd7bf106df1545c5b21af (patch) | |
tree | 8e4a6746b9f6a9351cde4d75c7b9530defbd06a3 /src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | |
parent | 34ea50f6720d6aca970613da560a1f25f5b5772c (diff) |
gallivm: Move the texture modifiers to the header.
Useful to pass these around.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h index 4d415b6d416..e60ad1d9044 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h @@ -45,6 +45,15 @@ struct lp_build_context; struct lp_build_mask_context; +enum lp_build_tex_modifier { + LP_BLD_TEX_MODIFIER_NONE = 0, + LP_BLD_TEX_MODIFIER_PROJECTED, + LP_BLD_TEX_MODIFIER_LOD_BIAS, + LP_BLD_TEX_MODIFIER_EXPLICIT_LOD, + LP_BLD_TEX_MODIFIER_EXPLICIT_DERIV +}; + + /** * Sampler code generation interface. * |