Revision 2307ce862ff7aec6e7b08f334d07e5e14e5ba94a authored by Tim Foley on 19 October 2018, 18:36:46 UTC, committed by GitHub on 19 October 2018, 18:36:46 UTC
* Fix sampler-less texeture functions I'm honestly not sure how the original work on this feature in #648 worked at all (probably insufficient testing). We have these front-end modifiers to indicate that a particular function definition requires a certain GLSL version, or a GLSL extension in order to be used, and they are supposed to be automatically employed by the logic in `emit.cpp` to output `#extension` lines in the output GLSL. However, it turns out that nothing is actually wired up right now, so that adding the modifiers to a declaration is a placebo. This change propagates the modifiers through as decorations, and then uses them during GLSL code emit, which allows the functions that require `EXT_samplerless_texture_functions` to work. * fixup: 32-bit warning
1 parent 4f979d7
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...