summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2022-08-11 15:28:10 +0300
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2022-08-20 00:46:12 +0300
commit11cad842fb30f27f405df96b342f36d9b8de49d8 (patch)
tree0020a0656290f5b55c2fc250c4355fc8509282e7
parentf9a727be9071a087c06f08a10542063a8cf90e9e (diff)
README: add intel_stub_gpu example
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 655437c..85c3605 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Some libraries are required when building. See section "Dependencies" below.
To build the binary, do:
make
-## i965 Usage
+## i965/iris Usage
### Running shaders
@@ -39,6 +39,10 @@ make
$ ./run shaders/supertuxkart 2> err | tee new-run
+## Running for another platform, use intel_stub_gpu (from Mesa repository) :
+
+ $ intel_stub_gpu -p icl ./run shaders 2> err | tee new-run
+
Make sure to check the contents of 'err' after your run.
To compile shaders for an i965 PCI ID different from your system, pass