diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-08 13:57:14 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-08 16:26:44 -0700 |
commit | e836f35369784fd90657252dcaf75e66f2369068 (patch) | |
tree | fb5e7a2549a760f40092ea361b2ad17af2de6303 /src/gallium/drivers/i965/brw_screen.c | |
parent | 44eec2802323b1e6cb47dfcf0aeab6b4cfd1c110 (diff) | |
download | external_mesa3d-e836f35369784fd90657252dcaf75e66f2369068.zip external_mesa3d-e836f35369784fd90657252dcaf75e66f2369068.tar.gz external_mesa3d-e836f35369784fd90657252dcaf75e66f2369068.tar.bz2 |
i965g: define BRW_MAX_TEXTURE_2D/3D_LEVELS
Diffstat (limited to 'src/gallium/drivers/i965/brw_screen.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/i965/brw_screen.c b/src/gallium/drivers/i965/brw_screen.c index 66f3aad..cef83ff 100644 --- a/src/gallium/drivers/i965/brw_screen.c +++ b/src/gallium/drivers/i965/brw_screen.c @@ -174,11 +174,11 @@ brw_get_param(struct pipe_screen *screen, int param) case PIPE_CAP_TEXTURE_SHADOW_MAP: return 1; case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: - return 11; /* max 1024x1024 */ + return BRW_MAX_TEXTURE_2D_LEVELS; case PIPE_CAP_MAX_TEXTURE_3D_LEVELS: - return 8; /* max 128x128x128 */ + return BRW_MAX_TEXTURE_3D_LEVELS; case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS: - return 11; /* max 1024x1024 */ + return BRW_MAX_TEXTURE_2D_LEVELS; case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER: return 1; |