r600g: evergreen has no request size bit in texture word4
authorDave Airlie <airlied@redhat.com>
Fri, 8 Oct 2010 00:17:51 +0000 (10:17 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Oct 2010 01:59:53 +0000 (11:59 +1000)
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h

index 81db2e25e8baf5822b32f140a5854a8c4126609c..bdd54811fb2ce12a64c094c2a4dff091f4701f43 100644 (file)
@@ -464,7 +464,6 @@ static struct pipe_sampler_view *evergreen_create_sampler_view(struct pipe_conte
        r600_pipe_state_add_reg(rstate, R_030010_RESOURCE0_WORD4,
                                word4 | S_030010_NUM_FORMAT_ALL(V_030010_SQ_NUM_FORMAT_NORM) |
                                S_030010_SRF_MODE_ALL(V_030010_SFR_MODE_NO_ZERO) |
-                               S_030010_REQUEST_SIZE(1) |
                                S_030010_BASE_LEVEL(state->first_level), 0xFFFFFFFF, NULL);
        r600_pipe_state_add_reg(rstate, R_030014_RESOURCE0_WORD5,
                                S_030014_LAST_LEVEL(state->last_level) |
index 9971dded7827e33fcbe2736eb607be496fd0eba8..eb36a35165e8dcb1a80b5575fc7914afeae4a9d7 100644 (file)
 #define   S_030010_ENDIAN_SWAP(x)                      (((x) & 0x3) << 12)
 #define   G_030010_ENDIAN_SWAP(x)                      (((x) >> 12) & 0x3)
 #define   C_030010_ENDIAN_SWAP                         0xFFFFCFFF
-#define   S_030010_REQUEST_SIZE(x)                     (((x) & 0x3) << 14)
-#define   G_030010_REQUEST_SIZE(x)                     (((x) >> 14) & 0x3)
-#define   C_030010_REQUEST_SIZE                        0xFFFF3FFF
 #define   S_030010_DST_SEL_X(x)                        (((x) & 0x7) << 16)
 #define   G_030010_DST_SEL_X(x)                        (((x) >> 16) & 0x7)
 #define   C_030010_DST_SEL_X                           0xFFF8FFFF