[SPIR-V] Declare DepthReplacing if we replace depth

This commit is contained in:
Dr. Chat
2018-04-29 18:43:31 -05:00
parent 87bfad1f74
commit 62bee78edd
2 changed files with 7 additions and 2 deletions

View File

@@ -163,6 +163,8 @@ class SpirvShaderTranslator : public ShaderTranslator {
spv::Id vtx_ = 0; // Vertex buffer array (32 runtime arrays)
std::unordered_map<uint32_t, uint32_t> vtx_binding_map_;
bool writes_depth_ = false;
// SPIR-V IDs that are part of the in/out interface.
std::vector<spv::Id> interface_ids_;