Hai Nguyen
b8dfe1348a
Vulkan rules relaxed for glslang C interface
...
- Added vulkan_rules_relaxed flag to glslang_input_t to turn on Vulkan
rules relaxed during shader creation.
2021-11-30 04:55:25 -05:00
Hai Nguyen
febbeb4f83
Support for automap options and resource binding shift ( #2834 )
...
* Support for automap options
- Added glslang_shader_options_t with enums for auto map bindings and
auto map locations.
- Added options param to glslang_shader_parse.
- Modified glslang_shader_parse to call appropriate auto map function if
auto map bits are set.
* Refactored auto map for C interface
- Added glslang_shader_set_options to independently set options instead
of being a param on an existing function.
- Added glslang_program_map_io to call mapIO so auto map location
actually works.
* Added support for shifting resource bindings
- Added resource binding shift functions to match C++ interface
* Uncommented preprocessor call that was commented out for debugging
2021-11-29 14:23:01 -07:00
Lynne
5ec47530b7
Add support for targeting Vulkan 1.2 in the C API
2021-11-08 10:48:38 +01:00
Ez Diy
1fde85ab96
GLSLANG_EXPORT for C APIs.
...
Fixes FFI breakage introduced in #2283
2020-08-10 22:26:41 +02:00
Ben Clayton
1a6c8ecb20
C Interface: Split SPIR-V C interface to own file
...
This breaks a cyclic dependency between the SPIRV and glslang build targets.
2020-06-15 13:22:19 +01:00
Daniel Koch
db32b243ff
Add support for GLSL_EXT_ray_tracing
...
and SPV_KHR_ray_tracing
2020-03-17 20:42:47 -04:00
Travis Fort
fd37e0c0f1
add c wrapper for standalone ResourceLimits and remove that dependency from glslang_c_interface
2020-03-06 10:06:47 -05:00
Travis Fort
bdcfc48466
add c interface support for TBuiltInResource and glslang::DefaultTBuiltInResource
2020-03-05 16:05:07 -05:00
Sergey Kosarevsky
a7ff36e6bd
Fix for #2075 : removed DefaultTBuiltInResource from glslang_c_interface.cpp
2020-02-28 02:18:37 +03:00
David Neto
4bb910cb74
Avoid enum-compare warning
2020-02-06 05:43:43 -05:00
John Kessenich
19ec0d2ff9
Build: Fix more build warnings caused by PR #2038 .
...
Revisit fix for #2062 for consistency with this commit.
2020-01-27 10:16:25 -07:00
Sergey Kosarevsky
e33f4e7bbb
CInterface: replaced tabs with spaces
2020-01-08 14:25:56 +03:00
Sergey Kosarevsky
6944b38a78
CInterface: added static asserts to compare C/C++ enums
2019-12-30 11:13:16 +03:00
Sergey Kosarevsky
b80a63a0ba
CInterface: replaced SH_ prefix with GLSLANG_
2019-12-26 21:17:37 +03:00
Sergey Kosarevsky
d7f09317f7
CInterface: added glslang_program_SPIRV_get_ptr()
2019-12-25 01:01:06 +03:00
Sergey Kosarevsky
e9ddba8fd8
CInterface: added _BIT suffix to glslang_messages_t and glslang_reflection_options_t, fixed const-correctness
2019-12-25 00:05:41 +03:00
Sergey Kosarevsky
ca593a98f9
CInterface: reformatted according to .clang-format rules
2019-12-25 00:00:23 +03:00
Sergey Kosarevsky
8cded6ccb9
Added original glslang_c_interface implementation by Viktor Latypov
2019-12-24 23:53:05 +03:00