glslang-zig/glslang/MachineIndependent
Neil Roberts 2d53904999 Take into account the number of locations taken up by a uniform
When assigning uniform locations it now takes into account the number
of locations occupied by the type. For uniforms, all types except
arrays and structs take up one location. For arrays the base location
count is multiplied by the array dimensions and for structs it is the
sum of the locations of each member.
2018-03-21 12:03:39 +01:00
..
preprocessor PP: don't give errors on some tokens under #if 0 (or similar). 2018-03-19 00:43:18 -06:00
attribute.cpp Fix build several build errors 2018-03-13 17:06:51 -04:00
attribute.h GLSL: Implement GL_EXT_control_flow_attributes. 2018-02-01 00:55:08 -07:00
Constant.cpp SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
gl_types.h Implement the extension GL_AMD_gpu_shader_half_float_fetch 2018-03-02 16:48:03 +08:00
glslang.y Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00
glslang_tab.cpp Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00
glslang_tab.cpp.h Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Initialize.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Intermediate.cpp AST: Fix shift conversions, which don't require matching types. 2018-03-15 21:11:36 -06:00
intermOut.cpp SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Take into account the number of locations taken up by a uniform 2018-03-21 12:03:39 +01:00
iomapper.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
limits.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
linkValidate.cpp Take into account the number of locations taken up by a uniform 2018-03-21 12:03:39 +01:00
LiveTraverser.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
localintermediate.h Take into account the number of locations taken up by a uniform 2018-03-21 12:03:39 +01:00
parseConst.cpp HLSL: Allow empty struct initializers 2017-04-27 18:22:52 -06:00
ParseContextBase.cpp Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
ParseHelper.cpp Merge branch 'bugfix' of https://github.com/amdrexu/glslang into amdrexu-bugfix 2018-03-07 14:25:46 -07:00
ParseHelper.h Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
parseVersions.h Merge branch 'feature' of https://github.com/amdrexu/glslang into amdrexu-feature 2018-03-07 14:29:45 -07:00
PoolAlloc.cpp Memory: Mak full explicit destructor functionality, techincally correctly. 2017-11-21 14:32:39 -07:00
propagateNoContraction.cpp HLSL: Add EOpMatrixSwizzle, selectively decomposed to other ops, for issue #670. 2017-01-13 12:35:01 -07:00
propagateNoContraction.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
reflection.cpp Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
reflection.h Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
Scan.cpp Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00
Scan.h Fix #1043: set all scan string-locations to have bias, not just the first one. 2017-09-11 20:35:49 -06:00
ScanContext.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
ShaderLang.cpp Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
SymbolTable.cpp SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
SymbolTable.h HLSL: Implement member functions calling member functions. 2017-05-17 02:20:34 -06:00
Versions.cpp Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00
Versions.h Add support for GL_NV_shader_noperspective_interpolation 2018-03-13 15:55:18 +00:00