st_get_external_sampler_key: improve error message
authorDrew DeVault <sir@cmpwn.com>
Thu, 7 Nov 2019 17:47:28 +0000 (12:47 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Nov 2019 20:57:23 +0000 (15:57 -0500)
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.h

index 90a77b9c17b108010aa8d8b51bad22f69f7290e4..900f5fc8ef15b794e73bd2b620853ee1d497c6ce 100644 (file)
@@ -93,7 +93,8 @@ st_get_external_sampler_key(struct st_context *st, struct gl_program *prog)
          key.lower_xyuv |= (1 << unit);
          break;
       default:
-         printf("unhandled %u\n", st_get_view_format(stObj));
+         printf("mesa: st_get_external_sampler_key: unhandled pipe format %u\n",
+               st_get_view_format(stObj));
          break;
       }
    }