On Tuesday, October 30, 2018 9:26:29 AM PDT Jason Ekstrand wrote: > This isn't true for Vulkan so we have to whack it to "main" in anv which > is silly. Instead of walking the list of functions and asserting that > everything is named "main" and hoping there's only one function named > "main", just use the nir_shader_get_entrypoint() helper which has better > assertions anyway. > --- > src/intel/compiler/brw_fs_nir.cpp | 17 ++++------------- > src/intel/compiler/brw_vec4_nir.cpp | 7 +------ > src/intel/vulkan/anv_pipeline.c | 1 - > 3 files changed, 5 insertions(+), 20 deletions(-)
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev