mesa/src/amd
Alejandro Piñeiro cf0b2ad486 nir/xfb: adding varyings on nir_xfb_info and gather_info
In order to be used for OpenGL (right now for ARB_gl_spirv).

This commit adds two new structures:

  * nir_xfb_varying_info: that identifies each individual varying. For
    each one, we need to know the type, buffer and xfb_offset

  * nir_xfb_buffer_info: as now for each buffer, in addition to the
    stride, we need to know how many varyings are assigned to it.

For this patch, the only case where num_outputs != num_varyings is
with the case of doubles, that for dvec3/4 could require more than one
output. There are more cases though (like aoa), that will be handled
on following patches.

v2: updated after new nir general XFB support introduced for "anv: Add
    support for VK_EXT_transform_feedback"

v3: compute num_varyings beforehand for allocating, instead of relying
    on num_outputs as approximate value (Timothy Arceri)

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2019-03-08 15:00:50 +01:00
..
addrlib amd/addrlib: update Mesa's copy of addrlib 2018-11-29 13:18:24 +01:00
common nir: rename glsl_type_is_struct() -> glsl_type_is_struct_or_ifc() 2019-03-06 13:10:02 +11:00
vulkan nir/xfb: adding varyings on nir_xfb_info and gather_info 2019-03-08 15:00:50 +01:00
Android.addrlib.mk android: amd/addrlib: update Mesa's copy of addrlib 2018-12-01 01:13:53 +01:00
Android.common.mk Android: fix undeclared identifier 'gfx9d_reg_table' 2017-09-11 09:35:23 -05:00
Android.mk android: radv: build vulkan.radv conditionally to radeonsi 2018-08-03 20:09:16 +02:00
Makefile.addrlib.am amd/addrlib: update Mesa's copy of addrlib 2018-11-29 13:18:24 +01:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
Makefile.common.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.sources amd/addrlib: drop si_ci_vi_merged_enum.h from the list 2018-12-10 16:35:01 +00:00
meson.build meson: build "radv" vulkan driver for radeon hardware 2017-09-27 09:12:34 -07:00