add debugname to settings table for texture and buffer,
which can be used for debugging in e.g. RenderDoc.
This commit is contained in:
niki
2023-12-13 14:28:34 +01:00
parent 8951635abc
commit a5d7ba1589
14 changed files with 76 additions and 0 deletions
+2
View File
@@ -175,6 +175,7 @@ public:
SETTING_RENDER_TARGET,
SETTING_COMPUTE_WRITE,
SETTING_READABLE,
SETTING_DEBUGNAME,
SETTING_MAX_ENUM
};
@@ -194,6 +195,7 @@ public:
bool renderTarget = false;
bool computeWrite = false;
OptionalBool readable;
std::string debugName;
};
struct Slices