summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-03-12 18:57:07 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-03-12 18:57:20 +0100
commitd939b974a168e5bcd9d7a67fc11f99b8227216cb (patch)
treee55cce4cf34884b88d1a5afc2b51b5d307b0b704 /doc
parent686ff09ec79363bbeea2b93a76a38e5a76fabc64 (diff)
rnndb: figure out some OpenCL instructions
Diffstat (limited to 'doc')
-rw-r--r--doc/hardware.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/hardware.md b/doc/hardware.md
index cbf5750..aa8054c 100644
--- a/doc/hardware.md
+++ b/doc/hardware.md
@@ -509,3 +509,12 @@ XXX maybe figure out if the sampler units are shared between fragment and vertex
XXX figure out wether normal texture2D works or that texture2DLod is needed.
+Shader size on GC2000
+----------------------
+
+The "query chip identity" ioctl on GC2000 reports an instructionCount of 512. Looking at the low-level command
+stream dumps the device appears to have 0x0E000 - 0x0C000 = 8192 bytes of instruction memory, with 128 bit
+instructions this indeed maps to 512 instructions.
+
+XXX does the VS/PS split at instruction 256 during rendering affect OpenCL? Hopefully not...
+