mesa/src/amd
Caio Marcelo de Oliveira Filho e45bf01940 spirv: Change spirv_to_nir() to return a nir_shader
spirv_to_nir() returned the nir_function corresponding to the
entrypoint, as a way to identify it.  There's now a bool is_entrypoint
in nir_function and also a helper function to get the entry_point from
a nir_shader.

The return type reflects better what the function name suggests.  It
also helps drivers avoid the mistake of reusing internal shader
references after running NIR_PASS on it.  When using NIR_TEST_CLONE or
NIR_TEST_SERIALIZE, those would be invalidated right in the first pass
executed.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-05-29 10:34:35 -07:00
..
addrlib amd/addrlib: fix uninitialized values for Addr2ComputeDccAddrFromCoord 2019-04-04 09:30:40 -04:00
common ac: treat Mullins as Kabini, remove the enum 2019-05-27 15:10:51 -04:00
vulkan spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07: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.sources ac: add LLVM code for triangle culling 2019-05-16 13:06:58 -04:00
meson.build meson: build "radv" vulkan driver for radeon hardware 2017-09-27 09:12:34 -07:00