SPIR-V: Declare all inputs/outputs in OpEntryPoint
This commit is contained in:
@@ -134,6 +134,9 @@ class SpirvShaderTranslator : public ShaderTranslator {
|
||||
spv::Id samplers_ = 0;
|
||||
spv::Id tex_[4] = {0}; // Images {1D, 2D, 3D, Cube}
|
||||
|
||||
// SPIR-V IDs that are part of the in/out interface.
|
||||
std::vector<spv::Id> interface_ids_;
|
||||
|
||||
// Map of {binding -> {offset -> spv input}}
|
||||
std::map<uint32_t, std::map<uint32_t, spv::Id>> vertex_binding_map_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user