headers: Remove VK_LAYER_EXPORT
- It hasn't been handling windows (so it's been half implemented) - It's a suboptimal method for exporting symbols for vulkan layers since `--version-script` and `.def` files exists. Both of these methods also don't risk name mangling. - `--version-script` also has perf benefits since you can silence exports from code you didn't intend to export
This commit is contained in:
parent
93cb25c6a4
commit
e8b8e06d09
2 changed files with 1 additions and 10 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include "vulkan/vk_layer.h"
|
||||
|
||||
// Use helper macro intended for vulkan layers to export functions
|
||||
VK_LAYER_EXPORT int foobar()
|
||||
int foobar()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue