nv30: Add missing PIPE_SHADER_CAP_INTEGERS to get_shader_param()
authorHans de Goede <hdegoede@redhat.com>
Mon, 11 Apr 2016 12:07:20 +0000 (14:07 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Apr 2016 09:41:12 +0000 (11:41 +0200)
Add missing PIPE_SHADER_CAP_INTEGERS for frag shaders to
nv30_screen_get_shader_param().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv30/nv30_screen.c

index db7c2d15fb158140e459b039092c2f5032f07f55..ece8af7254500cee9c94ee0b4541fd98c1015db7 100644 (file)
@@ -324,6 +324,7 @@ nv30_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
       case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
       case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
       case PIPE_SHADER_CAP_SUBROUTINES:
+      case PIPE_SHADER_CAP_INTEGERS:
       case PIPE_SHADER_CAP_DOUBLES:
       case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
       case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: