- Proper copying of texture data.

- Support for DXT3, DXT5, 32 float, 16 16 16 16 float.
- Only pad textures for formats that require it.
This commit is contained in:
gibbed
2014-01-20 20:14:47 -08:00
parent 74aac97b3e
commit e66390ae93
2 changed files with 29 additions and 12 deletions

View File

@@ -70,6 +70,7 @@ private:
DXGI_FORMAT format;
uint32_t block_size;
uint32_t pitch;
bool needs_power_of_two;
} TextureInfo;
TextureInfo GetTextureInfo(xenos::xe_gpu_texture_fetch_t& fetch);
int FetchTexture1D(xenos::xe_gpu_texture_fetch_t& fetch,