i915: fix typo CAP.
authorDave Airlie <airlied@redhat.com>
Tue, 7 Jun 2016 08:30:54 +0000 (18:30 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Jun 2016 08:31:14 +0000 (18:31 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/i915/i915_screen.c

index f927c7333b0c7cd0501f5a2869f55becfbe5551f..a7ee3813bd8d008c3e6917b8999df86ddef13bb2 100644 (file)
@@ -273,7 +273,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR:
    case PIPE_CAP_CULL_DISTANCE:
    case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES:
-   case PIPE_CAP_VOTE_TGSI:
+   case PIPE_CAP_TGSI_VOTE:
       return 0;
 
    case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: