[D3D12] Upload data to shared memory during frame (fixes swaying palms in CoD4)

This commit is contained in:
Triang3l
2018-08-16 12:07:53 +03:00
parent 1cec143810
commit c547851626
6 changed files with 184 additions and 249 deletions

View File

@@ -230,8 +230,8 @@ class TextureCache {
// made.
Texture* FindOrCreateTexture(TextureKey key);
// Writes data from the shared memory to the texture. This binds pipelines and
// allocates descriptors!
// Writes data from the shared memory to the texture. This binds pipelines,
// allocates descriptors and copies!
bool LoadTextureData(Texture* texture);
// Makes all bindings invalid. Also requesting textures after calling this