renderer_opengl: Renumber all texture units.

We spend lots of texture units for our texture buffers. As they are now feed from
one buffer, there is no need to have the big gap in the list of IDs.
This commit is contained in:
Markus Wick 2018-06-22 17:21:28 +02:00
parent 46f18d6800
commit c4ff0ba137

View File

@ -20,9 +20,9 @@ constexpr TextureUnit PicaTexture(int unit) {
return TextureUnit{unit};
}
constexpr TextureUnit TextureCube{10};
constexpr TextureUnit TextureBufferLUT_RG{11};
constexpr TextureUnit TextureBufferLUT_RGBA{12};
constexpr TextureUnit TextureCube{3};
constexpr TextureUnit TextureBufferLUT_RG{4};
constexpr TextureUnit TextureBufferLUT_RGBA{5};
} // namespace TextureUnits