[Mesa-dev] [PATCH 08/11] mesa: Implement the GL entry points defined by ARB_shader_image_load_store.
Francisco Jerez
currojerez at riseup.net
Tue Nov 26 12:29:59 PST 2013
Fredrik Höglund <fredrik at kde.org> writes:
>[...]
>> +}
>> +
>> +void GLAPIENTRY
>> +_mesa_MemoryBarrier(GLbitfield barriers)
>> +{
>> + GET_CURRENT_CONTEXT(ctx);
>> +
>> + if (ctx->Driver.MemoryBarrier)
>> + ctx->Driver.MemoryBarrier(ctx, barriers);
>> +}
>
> Is this the best place to implement this entry point?
> It's not specific to ARB_shader_image_load_store.
Right. It's also going to be used for shader storage blocks, which we
don't support yet -- right now it's only going to have an effect on
shader images, though I'm fine with moving the definition somewhere else
now, if you have a better suggestion. Any ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131126/a020e858/attachment.pgp>
More information about the mesa-dev
mailing list