Files
mesa/src/intel/vulkan
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
..
2019-04-29 21:17:19 +00:00
2019-03-21 15:36:39 -07:00
2019-01-08 18:47:56 +00:00
2018-07-25 20:55:35 +01:00
2019-01-08 18:47:56 +00:00
2018-10-24 18:15:05 +01:00
2018-10-26 18:33:11 +01:00
2019-01-17 15:08:22 -08:00
2019-03-21 15:36:39 -07:00