iris: bump compat profile support to 4.6
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 28 Jun 2019 04:55:20 +0000 (14:55 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 2 Aug 2019 08:56:53 +0000 (18:56 +1000)
All of the current piglit compat profile tests pass.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_screen.c

index 092328967012683e626ae918fe851b629e096ac1..a2b64ba9a143c632ea1be12569dd75744db21689 100644 (file)
@@ -230,9 +230,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
       return BRW_MAX_SOL_BINDINGS;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 460;
    case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-      return 140;
+      return 460;
    case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
       /* 3DSTATE_CONSTANT_XS requires the start of UBOs to be 32B aligned */
       return 32;