Re: [Mesa-dev] Splitting a texture between multiple samplers in Gallium

2018-05-21 Thread Ilia Mirkin
So ... what do you do when someone attaches max_samplers' worth of RGBA32F textures to a single stage? My guess is that you just fail to render and tell the application author, "don't do that". The alternative is to expose 1/4th of the true maximum, which is probably undesirable. Normally these ki

[Mesa-dev] Splitting a texture between multiple samplers in Gallium

2018-05-21 Thread Konstantin P.
We are writing a driver for some proprietary hardware using Gallium. And this hardware supports GL_ARB_texture_float, but requires to change texture format from PIPE_FORMAT_R32G32B32A32_FLOAT to PIPE_FORMAT_R8G8B8A8_UNORM and use four samplers (one R8G8B8A8_UNORM texture for each original color). H