summaryrefslogtreecommitdiff
path: root/src/intel/isl/docs/preface.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/docs/preface.rst')
-rw-r--r--src/intel/isl/docs/preface.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/intel/isl/docs/preface.rst b/src/intel/isl/docs/preface.rst
new file mode 100644
index 0000000000..02e86f0e30
--- /dev/null
+++ b/src/intel/isl/docs/preface.rst
@@ -0,0 +1,23 @@
+Preface
+=======
+
+Surface layout is a difficult subject and a full mastery of it requires
+knowledge in a variety of areas throughout the stack from the graphics
+API (Vulkan or GL) all the way down to the bits placed in memory by the
+hardware. Unfortunately, the documentation required to gain that
+knowledge is scattered if it exists at all. This document aims to serve
+as a handbook of all things surface related. Some things are already
+documented in detail other places; when this is the case, there is no
+need to write the documentation and it will merely be referenced. There
+are many other things, especially those relating to Intel hardware,
+where the documentation is so incomplete or scattered that it is almost
+worthless; in those cases, full documentation will be provided here with
+as many PRM citations as possible.
+
+This documented is intended to interact tightly with the Intel surface
+layout library (ISL or libisl) that lives in the mesa repository. All
+code examples will use ISL and will be written in terms of it's units,
+data structures, and functions. ISL itself is intended to be
+well-documented so there is going to be some overlap. However, not all
+documentation is fit for code comments and not all of it should be made
+public.