maxwell_3d: Allow texture handles with TIC id zero

Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
This commit is contained in:
ReinUsesLisp
2019-01-22 00:57:30 -03:00
parent e01a9de35f
commit 390721a561
3 changed files with 7 additions and 21 deletions

View File

@ -1008,10 +1008,6 @@ void RasterizerOpenGL::SetupTextures(Maxwell::ShaderStage stage, const Shader& s
auto& unit = state.texture_units[current_bindpoint];
const auto texture = maxwell3d.GetStageTexture(entry.GetStage(), entry.GetOffset());
if (!texture.enabled) {
unit.texture = 0;
continue;
}
texture_samplers[current_bindpoint].SyncWithConfig(texture.tsc);