9#if BLI_SUBPROCESS_SUPPORT
16constexpr size_t compilation_subprocess_shared_memory_size = 1024 * 1024 * 5;
18struct ShaderSourceHeader {
19 enum Type {
COMPUTE, GRAPHICS, GRAPHICS_WITH_GEOMETRY_STAGE };
24 char sources[compilation_subprocess_shared_memory_size -
sizeof(type)];
27static_assert(
sizeof(ShaderSourceHeader) == compilation_subprocess_shared_memory_size,
28 "Size must match the shared memory size");
30struct ShaderBinaryHeader {
37 uint8_t data[compilation_subprocess_shared_memory_size -
sizeof(
size) -
sizeof(
format)];
40static_assert(
sizeof(ShaderBinaryHeader) == compilation_subprocess_shared_memory_size,
41 "Size must match the shared memory size");
43void GL_shader_cache_dir_clear_old();
static DBVT_INLINE btScalar size(const btDbvtVolume &a)