History log of /external/mesa3d/src/compiler/builtin_type_macros.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
111d57e7d297a0736f83b3f710f9294981c48b2e 15-Nov-2016 Jason Ekstrand <jason.ekstrand@intel.com> compiler: Add the rest of the subpassInput types

There are actually 6 of them according to the GL_KHR_vulkan_glsl spec.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/compiler/builtin_type_macros.h
7bf76563e25222fa285cf9a19207318759588aac 15-Sep-2016 Dave Airlie <airlied@redhat.com> glsl: add subpass image type (v2)

SPIR-V/Vulkan have a special image type for input attachments
called the subpass type. It has different characteristics than
other images types.

The main one being it can only be an input image to fragment
shaders and loads from it are relative to the frag coord.

This adds support for it to the GLSL types. Unfortunately
we've run out of space in the sampler dim in types, so we
need to use another bit.

v2: Fixup subpass input name (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/compiler/builtin_type_macros.h
5ec6a65388871cc11ba9058dac4a76f4181c2334 09-Feb-2016 Jason Ekstrand <jason.ekstrand@intel.com> glsl/types: Add a bare "sampler" type

This is to be used by SPIR-V for representing a sampler that isn't attached
to any particular image. In SPIR-V, all of the interesting bits such as
dimensionality, sampled type, etc. come from the image, the bare "sampler"
type simply uses a sampled type of VOID and 0 values for the rest.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/compiler/builtin_type_macros.h
2f86383091bde24a2a0b90a43c11a13165f8c397 23-Nov-2015 Emil Velikov <emil.velikov@collabora.com> compiler: introduce a libcompiler static library

Currently it's an empty library, although it'll be used to store common
code between GLSL and NIR that is compiler specific (rather than generic
as the one in src/util).

XXX: strictly speaking we could add a python/mako parser to generate the
relevant files instead including builtin_type_macros.h in such a manner.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/compiler/builtin_type_macros.h