Hook up bindless textures for gl_levelmesh

This commit is contained in:
Magnus Norddahl 2023-10-23 19:52:47 +02:00
commit f550f5b05a
12 changed files with 51 additions and 10 deletions

View file

@ -312,7 +312,7 @@ void VkRaytrace::UploadMeshes(bool dynamicOnly)
}
else
{
info.TextureIndex = -1;
info.TextureIndex = 0;
}
submesh->MeshSurfaceUniforms[j].uTextureIndex = info.TextureIndex; // Bit of a hack, but we don't know the texture index before now