Skip to content

Commit b3a26d5

Browse files
committed
Remove injectedAPIFunctions
1 parent 833d3e1 commit b3a26d5

File tree

10 files changed

+0
-70
lines changed

10 files changed

+0
-70
lines changed

generator/vk_layer/source/instance.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ const std::vector<std::pair<std::string, uint32_t>> Instance::injectedInstanceEx
4848
/* See header for documentation. */
4949
std::vector<std::pair<std::string, uint32_t>> Instance::injectedDeviceExtensions {};
5050

51-
/* See header for documentation. */
52-
const std::vector<std::string> Instance::injectedAPIFunctions {};
53-
5451
/* See header for documentation. */
5552
void Instance::store(
5653
VkInstance handle,

generator/vk_layer/source/instance.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,4 @@ class Instance
163163
* removed from the list if the driver already exposes the extension.
164164
*/
165165
static std::vector<std::pair<std::string, uint32_t>> injectedDeviceExtensions;
166-
167-
/**
168-
* @brief Additional API functions that are injected by the layer.
169-
*
170-
* This list must include both instance and device functions, because
171-
* vkGetInstanceProcAddr can (inefficiently) be used to return device
172-
* functions.
173-
*
174-
* The layer will expose these even if the driver does not.
175-
*/
176-
static const std::vector<std::string> injectedAPIFunctions;
177166
};

layer_example/source/instance.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ const std::vector<std::pair<std::string, uint32_t>> Instance::injectedInstanceEx
4848
/* See header for documentation. */
4949
std::vector<std::pair<std::string, uint32_t>> Instance::injectedDeviceExtensions {};
5050

51-
/* See header for documentation. */
52-
const std::vector<std::string> Instance::injectedAPIFunctions {};
53-
5451
/* See header for documentation. */
5552
void Instance::store(VkInstance handle, std::unique_ptr<Instance>& instance)
5653
{

layer_example/source/instance.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,4 @@ class Instance
157157
* removed from the list if the driver already exposes the extension.
158158
*/
159159
static std::vector<std::pair<std::string, uint32_t>> injectedDeviceExtensions;
160-
161-
/**
162-
* @brief Additional API functions that are injected by the layer.
163-
*
164-
* This list must include both instance and device functions, because
165-
* vkGetInstanceProcAddr can (inefficiently) be used to return device
166-
* functions.
167-
*
168-
* The layer will expose these even if the driver does not.
169-
*/
170-
static const std::vector<std::string> injectedAPIFunctions;
171160
};

layer_gpu_profile/source/instance.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ const std::vector<std::pair<std::string, uint32_t>> Instance::injectedInstanceEx
4848
/* See header for documentation. */
4949
std::vector<std::pair<std::string, uint32_t>> Instance::injectedDeviceExtensions {};
5050

51-
/* See header for documentation. */
52-
const std::vector<std::string> Instance::injectedAPIFunctions {};
53-
5451
/* See header for documentation. */
5552
void Instance::store(VkInstance handle, std::unique_ptr<Instance>& instance)
5653
{

layer_gpu_profile/source/instance.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,4 @@ class Instance
163163
* removed from the list if the driver already exposes the extension.
164164
*/
165165
static std::vector<std::pair<std::string, uint32_t>> injectedDeviceExtensions;
166-
167-
/**
168-
* @brief Additional API functions that are injected by the layer.
169-
*
170-
* This list must include both instance and device functions, because
171-
* vkGetInstanceProcAddr can (inefficiently) be used to return device
172-
* functions.
173-
*
174-
* The layer will expose these even if the driver does not.
175-
*/
176-
static const std::vector<std::string> injectedAPIFunctions;
177166
};

layer_gpu_support/source/instance.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ const std::vector<std::pair<std::string, uint32_t>> Instance::injectedInstanceEx
4848
/* See header for documentation. */
4949
std::vector<std::pair<std::string, uint32_t>> Instance::injectedDeviceExtensions {};
5050

51-
/* See header for documentation. */
52-
const std::vector<std::string> Instance::injectedAPIFunctions {};
53-
5451
/* See header for documentation. */
5552
void Instance::store(VkInstance handle, std::unique_ptr<Instance>& instance)
5653
{

layer_gpu_support/source/instance.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,4 @@ class Instance
162162
* removed from the list if the driver already exposes the extension.
163163
*/
164164
static std::vector<std::pair<std::string, uint32_t>> injectedDeviceExtensions;
165-
166-
/**
167-
* @brief Additional API functions that are injected by the layer.
168-
*
169-
* This list must include both instance and device functions, because
170-
* vkGetInstanceProcAddr can (inefficiently) be used to return device
171-
* functions.
172-
*
173-
* The layer will expose these even if the driver does not.
174-
*/
175-
static const std::vector<std::string> injectedAPIFunctions;
176165
};

layer_gpu_timeline/source/instance.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ std::vector<std::pair<std::string, uint32_t>> Instance::injectedDeviceExtensions
5050
{VK_EXT_FRAME_BOUNDARY_EXTENSION_NAME, VK_EXT_FRAME_BOUNDARY_SPEC_VERSION}
5151
};
5252

53-
/* See header for documentation. */
54-
const std::vector<std::string> Instance::injectedAPIFunctions {};
55-
5653
/* See header for documentation. */
5754
void Instance::store(VkInstance handle, std::unique_ptr<Instance>& instance)
5855
{

layer_gpu_timeline/source/instance.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,4 @@ class Instance
157157
* removed from the list if the driver already exposes the extension.
158158
*/
159159
static std::vector<std::pair<std::string, uint32_t>> injectedDeviceExtensions;
160-
161-
/**
162-
* @brief Additional API functions that are injected by the layer.
163-
*
164-
* This list must include both instance and device functions, because
165-
* vkGetInstanceProcAddr can (inefficiently) be used to return device
166-
* functions.
167-
*
168-
* The layer will expose these even if the driver does not.
169-
*/
170-
static const std::vector<std::string> injectedAPIFunctions;
171160
};

0 commit comments

Comments
 (0)