r600g: remove some FIXME comments
authorMarek Olšák <maraeo@gmail.com>
Sun, 1 May 2011 23:43:33 +0000 (01:43 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 1 May 2011 23:43:33 +0000 (01:43 +0200)
All texture LOD tests pass.

src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c

index e316ffdfe102d5c46afe8abb8c3ad1997ec40bde..e3cbf59a2f7ded12c64b929a3f744060357cb75e 100644 (file)
@@ -323,7 +323,6 @@ static void *evergreen_create_sampler_state(struct pipe_context *ctx,
                        S_03C000_MIP_FILTER(r600_tex_mipfilter(state->min_mip_filter)) |
                        S_03C000_DEPTH_COMPARE_FUNCTION(r600_tex_compare(state->compare_func)) |
                        S_03C000_BORDER_COLOR_TYPE(uc.ui ? V_03C000_SQ_TEX_BORDER_COLOR_REGISTER : 0), 0xFFFFFFFF, NULL);
-       /* FIXME LOD it depends on texture base level ... */
        r600_pipe_state_add_reg(rstate, R_03C004_SQ_TEX_SAMPLER_WORD1_0,
                        S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) |
                        S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8)),
index f23c19628de9278b905d8ea0d0ddb90ac1e37d1b..3284f92f41022f0fd9158b75c5867d7f957eac52 100644 (file)
@@ -382,7 +382,6 @@ static void *r600_create_sampler_state(struct pipe_context *ctx,
                        S_03C000_MIP_FILTER(r600_tex_mipfilter(state->min_mip_filter)) |
                        S_03C000_DEPTH_COMPARE_FUNCTION(r600_tex_compare(state->compare_func)) |
                        S_03C000_BORDER_COLOR_TYPE(uc.ui ? V_03C000_SQ_TEX_BORDER_COLOR_REGISTER : 0), 0xFFFFFFFF, NULL);
-       /* FIXME LOD it depends on texture base level ... */
        r600_pipe_state_add_reg(rstate, R_03C004_SQ_TEX_SAMPLER_WORD1_0,
                        S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 6)) |
                        S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 6)) |