mesa/src/freedreno
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
..
drm freedreno: Move msm_drm.h to the same spot as other DRM uapi. 2019-05-14 11:51:55 -07:00
ir3 nir: Drop imov/fmov in favor of one mov instruction 2019-05-24 08:38:11 -05:00
registers freedreno: update generated headers 2019-05-04 11:50:44 -07:00
vulkan spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
.dir-locals.el freedreno: Make emacs indent the way robclark's eclipse does. 2019-05-13 15:37:01 -07:00
.editorconfig freedreno: Make .editorconfig match .dir-locals.el. 2019-05-13 15:37:01 -07:00
Android.drm.mk mesa: android: freedreno: build libfreedreno_{drm,ir3} static libs 2019-05-06 11:29:26 +00:00
Android.ir3.mk mesa: android: freedreno: build libfreedreno_{drm,ir3} static libs 2019-05-06 11:29:26 +00:00
Android.mk mesa: android: freedreno: build libfreedreno_{drm,ir3} static libs 2019-05-06 11:29:26 +00:00
Makefile.sources freedreno: Move msm_drm.h to the same spot as other DRM uapi. 2019-05-14 11:51:55 -07:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00