aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/shadingcontext.hpp
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-07-25 02:02:37 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-07-25 02:02:37 +0200
commitfdbba6d7ebb872ad4256b6a76d962b9c08a37531 (patch)
tree5336489d62ca92a120c40d1a97abc4829acf954f /src/shadingcontext.hpp
parent328c11f4dfd2653f9b6d12633b38d7baa49958da (diff)
save commitvkChess
Diffstat (limited to 'src/shadingcontext.hpp')
-rw-r--r--src/shadingcontext.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shadingcontext.hpp b/src/shadingcontext.hpp
index ed7880e..128d9da 100644
--- a/src/shadingcontext.hpp
+++ b/src/shadingcontext.hpp
@@ -2,7 +2,7 @@
#include "VkEngine.h"
-namespace vks {
+namespace vke {
struct BindingSlot {
uint layoutIdx;
uint descriptorIdx;
@@ -12,7 +12,7 @@ namespace vks {
//should be thread safe with dedicate desc and cmd pools
class ShadingContext
{
- vks::VulkanDevice* device;
+ vke::VulkanDevice* device;
VkDescriptorPool descriptorPool;
VkCommandPool cmdPool;//?
@@ -24,7 +24,7 @@ namespace vks {
public:
std::vector<VkDescriptorSetLayout> layouts;
- ShadingContext(vks::VulkanDevice* _device, uint32_t maxDescriptorSet = 1) {
+ ShadingContext(vke::VulkanDevice* _device, uint32_t maxDescriptorSet = 1) {
device = _device;
maxSets = maxDescriptorSet;
}