Handle opening vulkan shaders that are not in a pipeline.

* Previously we were relying on the pipeline info create to initialise
  the reflection for an entry point, now we do it on demand wherever it
  is needed.
This commit is contained in:
baldurk committed 2018-02-09 19:03:55 +00:00
1 parent 387de2527e
commit d3bf628394
21 files changed
+96 -84

No files matched your search

+2
View File
@@ -646,6 +646,8 @@ DECLARE_REFLECTION_STRUCT(ShaderResource);
DOCUMENT("Describes an entry point in a shader.");
struct ShaderEntryPoint
{
ShaderEntryPoint() = default;
ShaderEntryPoint(const rdcstr &n, ShaderStage s) : name(n), stage(s) {}
DOCUMENT("");
bool operator==(const ShaderEntryPoint &o) const { return name == o.name && stage == o.stage; }
bool operator<(const ShaderEntryPoint &o) const