Merge pull request #489 from andr3wmac/3d_texture_mip_fix

Bind all depth slices of 3D textures.
This commit is contained in:
Branimir Karadžić 2015-08-22 09:13:46 -07:00
commit ab2c29be43

View File

@ -2427,7 +2427,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
desc.ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
desc.Texture3D.MipSlice = _mip;
desc.Texture3D.FirstWSlice = 0;
desc.Texture3D.WSize = 1;
desc.Texture3D.WSize = -1;
break;
}