r300g: enable the RGBA16F renderbuffer too
authorMarek Olšák <maraeo@gmail.com>
Thu, 29 Apr 2010 03:07:23 +0000 (05:07 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 29 Apr 2010 03:07:23 +0000 (05:07 +0200)
src/gallium/drivers/r300/r300_texture.c

index aa65c70446d63493cd424c5397b771d8dc8128eb..ec4076120a8c5d1a033991fc8cce089b9bc7c4cb 100644 (file)
@@ -517,7 +517,7 @@ static uint32_t r300_translate_out_fmt(enum pipe_format format)
         case PIPE_FORMAT_R10SG10SB10SA2U_NORM:
         case PIPE_FORMAT_R16G16B16A16_UNORM:
         case PIPE_FORMAT_R16G16B16A16_SNORM:
-        //case PIPE_FORMAT_R16G16B16A16_FLOAT: /* not in pipe_format */
+        case PIPE_FORMAT_R16G16B16A16_FLOAT:
         case PIPE_FORMAT_R32G32B32A32_FLOAT:
             return modifier |
                 R300_C0_SEL_R | R300_C1_SEL_G |