[Mesa-dev] [PATCH 4/5] gallium: Add PIPE_SHADER_CAP_DOUBLES

Dave Airlie airlied at gmail.com
Tue Jun 17 16:54:28 PDT 2014

On 18 June 2014 05:08, Roland Scheidegger <sroland at vmware.com> wrote:
> This looks ok to me though since tgsi currently doesn't have any double
> opcodes (well the docs have them...) it doesn't really apply to most
> drivers (at least I assume you don't want to add support for it for tgsi).

I've mostly forward ported the old gallium double code, and have
written most of ARB_gpu_shader_fp64 on top,

Though the question I did want to ask Tom is if he is just going to
expose hw that has doubles, or does
he plan on emulating doubles.

For a lot of GLSL4.0 GPUs from AMD fglrx emulates doubles using
massive magic shaders, I'm unsure
if we should have a lowering pass above/below the TGSI line for these
types of situations and what that
would mean for this CAP.


More information about the mesa-dev mailing list