When replaying resource discards fill with explicit pattern. Closes #284

* This helps catches cases where a discarded image is accidentally used and in
  many cases may still have valid data. Particularly on Vulkan this is relevant
  for DONT_CARE renderpass load and store ops.
This commit is contained in:
baldurk
2020-07-13 17:29:11 +01:00
parent bc4a803605
commit 02a54be6ad
65 changed files with 5855 additions and 96 deletions
+2
View File
@@ -48,6 +48,8 @@ class rdcliteral
public:
const char *c_str() const { return str; }
size_t length() const { return len; }
const char *begin() const { return str; }
const char *end() const { return str + len; }
};
inline rdcliteral operator"" _lit(const char *str, size_t len)