diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-04-29 08:56:41 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-04-29 08:56:41 +1000 |
commit | 480ab1b7893290505efba925ea95d3b173aa97d4 (patch) | |
tree | 7e22664b19048709a70350e49882339d70bf00ff /src | |
parent | 58b1bcaa094ed07a54bd7e4cdbddbcdcf1f629a7 (diff) |
nv40: enable DXTn formats
GL state tracker capable enough for progs/tests/texcompress2 at least.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_screen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c index a408d7262f..c64c3b1c39 100644 --- a/src/gallium/drivers/nv40/nv40_screen.c +++ b/src/gallium/drivers/nv40/nv40_screen.c @@ -39,7 +39,7 @@ nv40_screen_get_param(struct pipe_screen *pscreen, int param) case PIPE_CAP_GLSL: return 0; case PIPE_CAP_S3TC: - return 0; + return 1; case PIPE_CAP_ANISOTROPIC_FILTER: return 1; case PIPE_CAP_POINT_SPRITE: @@ -118,12 +118,10 @@ nv40_screen_surface_format_supported(struct pipe_screen *pscreen, case PIPE_FORMAT_U_A8_L8: case PIPE_FORMAT_Z16_UNORM: case PIPE_FORMAT_Z24S8_UNORM: -#if 0 /* state tracker not up to the task just yet. */ case PIPE_FORMAT_DXT1_RGB: case PIPE_FORMAT_DXT1_RGBA: case PIPE_FORMAT_DXT3_RGBA: case PIPE_FORMAT_DXT5_RGBA: -#endif return TRUE; default: break; |