Fix Vulkan texture drawing.
This commit is contained in:
@@ -122,7 +122,7 @@ class SpirvShaderTranslator : public ShaderTranslator {
|
||||
spv::Id interpolators_ = 0;
|
||||
spv::Id frag_outputs_ = 0;
|
||||
spv::Id samplers_ = 0;
|
||||
spv::Id img_[4] = {0}; // Images {1D, 2D, 3D, Cube}
|
||||
spv::Id tex_[4] = {0}; // Images {1D, 2D, 3D, Cube}
|
||||
|
||||
// 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