diff options
author | Connor Abbott <[email protected]> | 2019-08-30 17:57:18 +0200 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-09-05 12:38:46 +0200 |
commit | 2af431cf7fe9303bbfbd719e4612f00043583f40 (patch) | |
tree | 47b24510d420f4fa65984147b7959e9fbcc1c15d /src/gallium/docs/source/screen.rst | |
parent | 49503ae74e2634ebd2e0d3caa36c25ed99e19b9c (diff) |
gallium: Plumb through a way to disable GLSL const lowering
For radeonsi, we will prefer the NIR pass as it'll generate better code
(some index calculation and a single load vs. a load, then index
calculation, then another load) and oftentimes NIR optimization can kick
in and make all the access indices constant.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/screen.rst')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index d149a2f4c9f..1df04b6c3bf 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -548,6 +548,10 @@ The integer capabilities: types with texture functions having interaction with LOD of texture lookup. * ``PIPE_CAP_SHADER_SAMPLES_IDENTICAL``: True if the driver supports a shader query to tell whether all samples of a multisampled surface are definitely identical. * ``PIPE_CAP_TGSI_ATOMINC_WRAP``: Atomic increment/decrement + wrap around are supported. +* ``PIPE_CAP_PREFER_IMM_ARRAYS_AS_CONSTBUF``: True if the state tracker should + turn arrays whose contents can be deduced at compile time into constant + buffer loads, or false if the driver can handle such arrays itself in a more + efficient manner. .. _pipe_capf: |