r600g: advertise 32 fragment shaders inputs, not 34
authorMarek Olšák <maraeo@gmail.com>
Fri, 26 Oct 2012 15:35:32 +0000 (17:35 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 26 Oct 2012 16:01:14 +0000 (18:01 +0200)
src/gallium/drivers/r600/r600_pipe.c

index 545441482de88742c4a723c8378c87a2c7c95a04..1991bf2757ecd8d81130600e6e97d4a8b04f7d74 100644 (file)
@@ -521,10 +521,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
        case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH:
                return 8; /* XXX */
        case PIPE_SHADER_CAP_MAX_INPUTS:
-               if(shader == PIPE_SHADER_FRAGMENT)
-                       return 34;
-               else
-                       return 32;
+               return 32;
        case PIPE_SHADER_CAP_MAX_TEMPS:
                return 256; /* Max native temporaries. */
        case PIPE_SHADER_CAP_MAX_ADDRS: