OSDN Git Service

r600g: add back evergreen name.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Sep 2010 22:31:51 +0000 (08:31 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Sep 2010 23:19:22 +0000 (09:19 +1000)
src/gallium/drivers/r600/r600_state2.c

index bbbf279..9e37af8 100644 (file)
@@ -343,8 +343,10 @@ static const char* r600_get_name(struct pipe_screen* pscreen)
 
        if (family >= CHIP_R600 && family < CHIP_RV770)
                return "R600 (HD2XXX,HD3XXX)";
-       else
+       else if (family < CHIP_CEDAR)
                return "R700 (HD4XXX)";
+       else
+               return "EVERGREEN";
 }
 
 static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)