diff options
author | Jason Ekstrand <[email protected]> | 2018-10-29 12:08:29 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-30 20:14:52 -0500 |
commit | d3a0d8b750a6db5bc535f5f0b9c2c83849fee5bb (patch) | |
tree | 9be0fe6c1a96a85b53e3b69782fd7c0dc07f8d3f /CleanSpec.mk | |
parent | 31596836fc22e1f5b4cf85abc012acd27366db87 (diff) |
intel/compiler: Stop assuming the entrypoint is called "main"
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.
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions