MCPcopy Create free account
hub / github.com/crosire/reshade / align_up

Function align_up

source/effect_codegen_glsl.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23inline uint32_t align_up(uint32_t size, uint32_t alignment)
24{
25 alignment -= 1;
26 return ((size + alignment) & ~alignment);
27}
28
29class codegen_glsl : public codegen
30{

Callers 1

define_uniformMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected