"Data for slice index "+itos(idx)+" (mapped to layer "+itos(i)+", mipmap "+itos(j)+") differs in size (supplied: "+itos(p_data[idx].size())+") than what is required by the format ("+itos(required_size)+").");
"Data for slice index "+itos(i)+" (mapped to layer "+itos(i)+") differs in size (supplied: "+itos(p_data[i].size())+") than what is required by the format ("+itos(required_size)+").");
}
}
...
...
@@ -1765,9 +1760,7 @@ RID RenderingDeviceVulkan::texture_create(const TextureFormat &p_format, const T
virtualErrortexture_update(RIDp_texture,uint32_tp_mipmap,uint32_tp_layer,constPoolVector<uint8_t>&p_data,boolp_sync_with_draw=false)=0;//this function can be used from any thread and it takes effect at the begining of the frame, unless sync with draw is used, which is used to mix updates with draw calls
virtualErrortexture_update(RIDp_texture,uint32_tp_layer,constPoolVector<uint8_t>&p_data,boolp_sync_with_draw=false)=0;//this function can be used from any thread and it takes effect at the begining of the frame, unless sync with draw is used, which is used to mix updates with draw calls