iris: new caps
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Sep 2018 04:22:31 +0000 (21:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

index 850cbfbcf78e843706bf8511703a34d011bd96f0..4d0ccef0163696f5127981f2246e156145b70f60 100644 (file)
@@ -242,6 +242,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        * cacheline.
        */
       return 64;
+   case PIPE_CAP_MAX_SHADER_BUFFER_SIZE:
+      return 1 << 27;
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
       return 64; // XXX: ?
    case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
@@ -258,6 +260,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return 256;
    case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
       return 1024;
+   case PIPE_CAP_MAX_GS_INVOCATIONS:
+      return 32;
    case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
       return 4;
    case PIPE_CAP_TEXTURE_GATHER_SM5: