History log of /external/mesa3d/src/glsl/glsl_types.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13cb99dc73f9337358c92412aefa918c2ec16431 26-Jul-2012 Kenneth Graunke <kenneth@whitecape.org> glsl: Make bvec and ivec types accessible without using get_instance.

It's more convenient to use shortcuts like glsl_type::bvec2_type than
the longwinded glsl_type::get_instance(GLSL_TYPE_BOOL, 2, 1).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Olivier Galibert <galibert@pobox.com>
/external/mesa3d/src/glsl/glsl_types.h
8ab5842a6d992956ee365c0e0232c6e6b907863e 02-May-2012 Eric Anholt <eric@anholt.net> glsl: Assign locations for uniforms in UBOs using the std140 rules.

Fixes piglit layout-std140.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_types.h
0225a15b6907b51dbbc9602a1f0cb07ee809f496 15-Mar-2012 Eric Anholt <eric@anholt.net> glsl: Don't include the deprecated structure types in GLSL 1.40.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_types.h
3645b77b7162913b504a49fc42d785fde27df3f3 12-Mar-2012 Eric Anholt <eric@anholt.net> glsl: Add support for integer sampler2DRect variants in GLSL 1.40.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_types.h
32be81de39f7548e353afabf1215b0ea7c7b0916 14-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glsl: Add glsl_type::sampler_index

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_types.h
63e7a4c6e5bf51d8090046ebc5adcb4207448565 09-Nov-2011 José Fonseca <jfonseca@vmware.com> mesa,glsl,mapi: Put extern "C" { ... } where appropriate.

Probably a several places missing, but enough to cover all headers
(in)directly included by uniform_query.cpp, and fix the MSVC build.
/external/mesa3d/src/glsl/glsl_types.h
68db407b20e780d3f45b90b01f1271b7bd7e7a2b 12-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> glsl: Allow glsl_types.h to be included in C sources

Some C code will want access to the glsl_base_type and
glsl_sampler_dim enums in the near future.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/glsl/glsl_types.h
2903816aadb281716b6c59a5a48aeadb84a08f50 23-Oct-2011 Chia-I Wu <olv@lunarg.com> glsl: add support for GL_OES_EGL_image_external

This extension introduces a new sampler type: samplerExternalOES.
texture2D (and texture2DProj) can be used to do a texture look up in an
external texture.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_types.h
fa0066ae2b2d304065ee8d93d9b5ecc8b457425a 26-Oct-2011 Paul Berry <stereotype441@gmail.com> mesa: Add glsl_type::get_scalar_type() function.

This function is similar to get_base_type(), but when called on
arrays, it returns the scalar type composing the array. For example,
glsl_type(vec4[]) => float_type.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_types.h
200e4972c1579e8dfaa6f11eee2a7e54baad4852 27-Jul-2011 Chad Versace <chad@chad-versace.us> glsl: Add method glsl_type::can_implicitly_convert_to()

This method checks if a source type is identical to or can be implicitly
converted to a target type according to the GLSL 1.20 spec, Section 4.1.10
Implicit Conversions.

The following commits use the method for a bugfix:
glsl: Fix implicit conversions in non-constructor function calls
glsl: Fix implicit conversions in array constructors

Note: This is a candidate for the 7.10 and 7.11 branches.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/glsl/glsl_types.h
ddc1c96390b685bb95f7431e862c3a64fcefa085 12-Jul-2011 Paul Berry <stereotype441@gmail.com> glsl: Move type_contains_sampler() into glsl_type for later reuse.

The new location, as a member function of glsl_type, is more
consistent with queries like is_sampler(), is_boolean(), is_float(),
etc. Placing the function inside glsl_type also makes it available to
any code that uses glsl_types.
/external/mesa3d/src/glsl/glsl_types.h
dedc81e1dced8768334c300d630b4683fd8a1ba2 03-Mar-2011 Chad Versace <chad@chad-versace.us> glsl: Document glsl_type::sampler_dimensionality
/external/mesa3d/src/glsl/glsl_types.h
0a163cf56d1e412629cb802480998a982a47bb3c 26-Feb-2011 Kenneth Graunke <kenneth@whitecape.org> glsl: Enable GL_OES_texture_3D extension for ES2.
/external/mesa3d/src/glsl/glsl_types.h
497baf4e4a6a0a2f247c7bfb9bf69a2b93c2c19f 10-Feb-2011 Ian Romanick <ian.d.romanick@intel.com> Use C-style system headers in C++ code to avoid issues with std:: namespace
/external/mesa3d/src/glsl/glsl_types.h
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 21-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> Convert everything from the talloc API to the ralloc API.
/external/mesa3d/src/glsl/glsl_types.h
5c229e5fbd8ffa573ab2c1225f182036792a75af 13-Dec-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Expose a public glsl_type::void_type const pointer.

This is analogous to glsl_type::int_type and all the others.
/external/mesa3d/src/glsl/glsl_types.h
5dc74e9c77de7d30ac08c25f224ffa93006d8d7c 11-Nov-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Convert glsl_type::base_type from #define'd constants to an enum.

This is nice because printing type->base_type in GDB will now give you a
readable name instead of a number.
/external/mesa3d/src/glsl/glsl_types.h
ee36f14fa54723f2da3cf6054f822ebf05cca247 11-Nov-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Remove GLSL_TYPE_FUNCTION define.

Functions are not first class objects in GLSL, so there is never a value
of function type. No code actually used this except for one function
which asserted it shouldn't occur. One comment mentioned it, but was
incorrect. So we may as well remove it entirely.
/external/mesa3d/src/glsl/glsl_types.h
fc99a3beb92326caacbbb231d2f2090bee48b1f7 08-Oct-2010 Chad Versace <chad@chad-versace.us> glsl: Add glsl_type::uvecN_type for N=2,3

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_types.h
76deef138ee25ab57b4716aef41ce0c94081f20a 07-Aug-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Split out types that are in 1.10 but not GLSL ES 1.00.
/external/mesa3d/src/glsl/glsl_types.h
4d6221f90df9d04e5edcdddb3b6f76c0cb175421 01-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Remove unused method glsl_type::generate_constructor
/external/mesa3d/src/glsl/glsl_types.h
e9c7ceed27f6811ad1cae46c93ce9bc3fb3668d8 22-Aug-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Use a single shared namespace in the symbol table.

As of 1.20, variable names, function names, and structure type names all
share a single namespace, and should conflict with one another in the
same scope, or hide each other in nested scopes.

However, in 1.10, variables and functions can share the same name in the
same scope. Structure types, however, conflict with/hide both.

Fixes piglit tests redeclaration-06.vert, redeclaration-11.vert,
redeclaration-19.vert, and struct-05.vert.
/external/mesa3d/src/glsl/glsl_types.h
1cbcf6693aa490c4dcb56712bfb9998deb270f08 14-Aug-2010 José Fonseca <jfonseca@vmware.com> glsl: Standardize a few more uses of struct vs class keyword.
/external/mesa3d/src/glsl/glsl_types.h
ad98aa9d93646600cc95b3e45a40eec26f18988a 04-Aug-2010 Kenneth Graunke <kenneth@whitecape.org> glsl2: Remove uses of deprecated TALLOC_CTX type.
/external/mesa3d/src/glsl/glsl_types.h
42f3e7b6d7b42218feafe85a2328d8ce86fcce93 02-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Use string key for array type hash
/external/mesa3d/src/glsl/glsl_types.h
cf41c8a0d8dac52bafb7c3e85171566c492786ab 02-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Make glsl_types::ctx private again
/external/mesa3d/src/glsl/glsl_types.h
85cd64ee170e578317a6aa41d824314550a318ac 27-Jul-2010 Eric Anholt <eric@anholt.net> glsl2: Talloc type names.

Otherwise, we end up losing structure names after compile time, and
dumping IR often ends up reporting some other mysterious string.
/external/mesa3d/src/glsl/glsl_types.h
f38d15b80d4e4c8ecb7a76087cdc49835f0aa271 21-Jul-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: glsl_type has its own talloc context, don't pass one in
/external/mesa3d/src/glsl/glsl_types.h
21b0dbd79937e9d6787f045af7d60d4b6c649ec8 21-Jul-2010 Eric Anholt <eric@anholt.net> glsl2: talloc the glsl_struct_field[] we use to look up structure types.

Since the types are singletons across the lifetime of the compiler,
repeatedly compiling a program with the same structure type defined
would drop a copy of the array on the floor per compile.

This is a bit tricky because the static GLSL types are not called with
the talloc-based new, so we have to use the global type context, which
may not be initialized yet.
/external/mesa3d/src/glsl/glsl_types.h
efc15f862b08a9f035c06a79bc43848cca740372 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Add _mesa_glsl_release_types to release all type related storage
/external/mesa3d/src/glsl/glsl_types.h
e1374d48ded09dba576f5a2b86c3d11984d1f7c4 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: All glsl_type objects live in their own talloc context
/external/mesa3d/src/glsl/glsl_types.h
72e627d02a78cbf40c861384293e355588fd0977 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Record type constructors are private
/external/mesa3d/src/glsl/glsl_types.h
49e3577b91f44013746f7a3db411e7041b7d899e 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Add get_record_instance method
/external/mesa3d/src/glsl/glsl_types.h
31bcce04b1f9c8c5e33370e26a3a9d6e60049aa8 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Vector, matrix, and sampler type constructors are private
/external/mesa3d/src/glsl/glsl_types.h
e94642eb0d99ff7f6cdaee31ed4f5f29bdabd6f7 28-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Make all static objects be class private
/external/mesa3d/src/glsl/glsl_types.h
12681610f54b40324e9e342dc25976c223614b81 26-Jun-2010 Ian Romanick <ian.d.romanick@intel.com> glsl_type: Remove vector and matrix constructor generators

All scalar, vector, and matrix constructors are generated in-line
during AST-to-HIR translation. There is no longer any need to
generate function versions of the constructors.
/external/mesa3d/src/glsl/glsl_types.h
0fd97db8b077ad1bd5d26e86e67ebb2d58b6a38a 25-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Associate the GLenum for the type with builtin GLSL types.
/external/mesa3d/src/glsl/glsl_types.h
29285882676388aacff123e8bdf025904abf8ea9 25-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Move the compiler to the subdirectory it will live in in Mesa.
/external/mesa3d/src/glsl/glsl_types.h