mesa/src
Timothy Arceri 8abed7f185 glsl: apply compile-time rules for the offset layout qualifier
This implements the rules for the offset qualifier on block members.

From Section 4.4.5 (Uniform and Shader Storage Block Layout Qualifiers)
of the GLSL 4.50 spec:

   "The offset qualifier can only be used on block members of blocks
   declared with std140 or std430 layouts."

   ...

   "It is a compile-time error to specify an offset that is smaller than
   the offset of the previous member in the block or that lies within the
   previous member of the block."

   ...

   "The specified offset must be a multiple of the base alignment of the
   type of the block member it qualifies, or a compile-time error results."

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2016-03-05 19:38:30 +11:00
..
compiler glsl: apply compile-time rules for the offset layout qualifier 2016-03-05 19:38:30 +11:00
egl Android: clean-up and fix DRI module path handling 2016-02-29 10:51:44 +00:00
gallium st/xlib: Don't destroy screen on XCloseDisplay() 2016-03-04 18:14:46 -07:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-10-30 19:12:14 +00:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glx glx: update to updated version of EXT_create_context_es2_profile 2016-02-03 15:44:51 -05:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader virtio_gpu: Add PCI ID to driver map 2016-01-23 12:35:24 +10:00
mapi mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2 2016-03-03 15:14:06 +01:00
mesa i965: Only magnify depth for 3D textures, not array textures. 2016-03-04 21:25:08 -08:00
util util: fix new gcc6 warnings 2016-02-18 17:10:55 -05:00
Makefile.am glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00