diff options
author | Brian Ho <[email protected]> | 2020-04-01 11:09:48 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-07 14:13:20 +0000 |
commit | 6eabd6bd51406f729689cce6b3b021c2731c69f9 (patch) | |
tree | f555b6e7c493cb8efe0faf4db9c242e743e689e9 /src/freedreno/ir3/ir3_nir.h | |
parent | 1af71bee734da7d87e0ef1b71a64e12fa81ed92e (diff) |
turnip: Emit geometry shader obj and related consts
Like with other shader types, we need to emit the geometry shader
object and the consts it uses. In addition, we need to emit
additional geometry-specific consts that link primitive/vertex stride
between the vs and gs. In conjunction with the gsheader, these are
used by the vs to determine where to stlw outputs and used by the gs
to determine where to ldlw those outputs from.
FD emits these consts in the draw call because in GL, you can mix
and match shaders in different programs. In Vulkan, however, we
compile and link the shaders at pipeline creation, so we can emit
these in the pipeline IB instead.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4436>
Diffstat (limited to 'src/freedreno/ir3/ir3_nir.h')
0 files changed, 0 insertions, 0 deletions