mesa/src/compiler
Samuel Pitoiset 4c084f18fd glsl: allow to declare bindless samplers/images as non-uniform
From section 4.1.7 of the ARB_bindless_texture spec:

   "Samplers may be declared as shader inputs and outputs, as uniform
    variables, as temporary variables, and as function parameters."

From section 4.1.X of the ARB_bindless_texture spec:

   "Images may be declared as shader inputs and outputs, as uniform
    variables, as temporary variables, and as function parameters."

v3: - add validate_storage_for_sampler_image_types()
    - update spec comment
    - update the glsl error message

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-05-06 16:40:19 +02:00
..
glsl glsl: allow to declare bindless samplers/images as non-uniform 2017-05-06 16:40:19 +02:00
nir nir: add pass to lower atomic counters to SSBO 2017-05-04 13:48:06 -04:00
spirv spirv: Add support for SPV_KHR_multiview 2017-05-03 11:25:46 -07:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
builtin_type_macros.h glsl: Add basic ARB_gpu_shader_int64 types 2017-01-20 15:41:23 -08:00
glsl_types.cpp glsl: make count_attribute_slots() returns 1 for samplers/images 2017-05-06 16:40:19 +02:00
glsl_types.h glsl: make sampler/image scalar types 2017-05-06 16:40:19 +02:00
Makefile.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.glsl.am glsl: automake: export abs_builddir for the tests 2017-03-28 15:31:22 +01:00
Makefile.nir.am nir: automake: add the README to the tarball 2017-02-24 17:36:45 +00:00
Makefile.sources nir: add pass to lower atomic counters to SSBO 2017-05-04 13:48:06 -04:00
nir_types.cpp nir: add a C wrapper for glsl_type::get_interface_instance() 2017-05-04 13:48:06 -04:00
nir_types.h nir: add a C wrapper for glsl_type::get_interface_instance() 2017-05-04 13:48:06 -04:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: Add a system value and varying for ViewIndex 2017-05-03 11:25:46 -07:00
shader_enums.h compiler: Add a system value and varying for ViewIndex 2017-05-03 11:25:46 -07:00
shader_info.h compiler: Merge shader_info's tcs and tes structs. 2017-01-10 13:21:21 -08:00