zink: avoid texelFetch until it's implemented
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 15 Jul 2019 12:07:49 +0000 (14:07 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:46 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_screen.c

index 86fa16fdba4be54d8d85f08200d21c9b955628ab..f18b39814d5fa0cfa297a681d05c18cc25208581 100644 (file)
@@ -155,7 +155,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
    case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-      return 450; /* unsure (probably wrong) */
+      return 120;
 
 #if 0 /* TODO: Enable me */
    case PIPE_CAP_COMPUTE: