[Mesa-dev] EXT_gpu_shader4 glsl

Ian Romanick idr at freedesktop.org
Wed Sep 14 09:29:54 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/14/2011 06:16 AM, Dave Airlie wrote:
> Hi guys,
> 
> So I've been noticing there are a number of inconsistencies
> between EXT_gpu_shader4 and GLSL1.30, are you planning on
> implementing EXT_gpu_shader4?
> 
> EXT_gpu_shader4 appears to define "unsigned" and can also use 
> texture2D to sample from integer samplers.

There are a few functional differences between GLSL 1.30 and
EXT_gpu_shader4.  At the very least, EXT_gpu_shader4 supports TexBOs
and UBOs.  I think there are a couple other things as well.  We're
targeting GLSL 1.30 and OpenGL 3.0 in the next major release, so there
will really only be a short period where we have one but not the other
in Mesa master.

I think that we may fill-in some of the missing EXT_gpu_shader4 bits
after GLSL 1.30 is done.  My plan was for that to primarily be a
vehicle to get the simpler / older TexBO and UBO extensions working as
we work towards GLSL 1.40.

> My main worry is we end up needing GL3.0 entrypoints when we are 
> missing float texture for example, so we would want to expose 
> EXT_gpu_shader4 then I suppose, but then we would want to fix up
> the GLSL handling for it.

What do you mean?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5w1oIACgkQX1gOwKyEAw/9ZgCfSeBh9d05qAUNT8I1162/sZrv
LzAAoJKRZqyPsJ8VspaM5TCkybxlZDle
=90vU
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list