From: Henri Verbeet Subject: Re: [PATCH v3 2/9] wined3d: Add 1D textures to get_texture_view_target(). Message-Id: Date: Thu, 8 Feb 2018 01:21:49 +0330 In-Reply-To: References: <20180207153509.10627-1-shesse@codeweavers.com> <20180207153509.10627-2-shesse@codeweavers.com> On 7 February 2018 at 21:55, Matteo Bruni wrote: > Just putting it out there for consideration: what about using > GL_TEXTURE_2D and GL_TEXTURE_2D_ARRAY for 1D d3d textures instead? > OpenGL ES doesn't support 1D textures so we'd have to add a code path > using 2D textures anyway at some point. Also AFAIU 1D textures aren't > supported in HW at least on AMD Vega, which means that, in some cases > at least, they are emulated on top of 2D textures anyway. > Yeah. The question is going to be whether on GPUs that do have dedicated hardware for 1D textures there's any advantage to using them. That seems likely, since well, silicon isn't quite free either, but it's not clear to me what the advantage would be.