diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-04-11 16:13:45 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-04-11 23:39:24 -0700 |
commit | d5af1dce8fc23dc3763773e3c0b7e0be128d2aa0 (patch) | |
tree | 2ce3965762a830eeb61d97633cc92d144d3998ab /src/mesa/drivers/dri/r300/compiler/radeon_code.h | |
parent | f95ff1cf48a3da090dc999621f2d153af0c7db14 (diff) |
r300/compiler: Implement texcoord repeat and mirror for NPOT.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_code.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_code.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_code.h b/src/mesa/drivers/dri/r300/compiler/radeon_code.h index 45cc7df1e3..0a20dfe2d1 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_code.h +++ b/src/mesa/drivers/dri/r300/compiler/radeon_code.h @@ -144,7 +144,12 @@ struct r300_fragment_program_external_state { unsigned texture_compare_func : 3; /** - * If the sampler will be accessed with non-normalized coords, + * If the sampler needs to fake NPOT, this field is set. + */ + unsigned fake_npot : 1; + + /** + * If the sampler will recieve non-normalized coords, * this field is set. */ unsigned non_normalized_coords : 1; |