[SPIR-V] Declare DepthReplacing if we replace depth
This commit is contained in:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user