maxwell_3d: Partially implement texture buffers as 1D textures
This commit is contained in:
parent
6c81c8f5b7
commit
b8c75a845b
4 changed files with 24 additions and 10 deletions
|
@ -12,6 +12,8 @@ SurfaceTarget SurfaceTargetFromTextureType(Tegra::Texture::TextureType texture_t
|
|||
switch (texture_type) {
|
||||
case Tegra::Texture::TextureType::Texture1D:
|
||||
return SurfaceTarget::Texture1D;
|
||||
case Tegra::Texture::TextureType::Texture1DBuffer:
|
||||
return SurfaceTarget::Texture1D; // Fixme
|
||||
case Tegra::Texture::TextureType::Texture2D:
|
||||
case Tegra::Texture::TextureType::Texture2DNoMipmap:
|
||||
return SurfaceTarget::Texture2D;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue