Monthly Archive: Tháng mười 2024

common/common-define.chunk 0

common/common-define.chunk

// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. // common module // constant value #define QUATER_PI 0.78539816340 #define HALF_PI 1.57079632679 #define PI 3.14159265359 #define PI2 6.28318530718 #define PI4 12.5663706144 #define INV_QUATER_PI 1.27323954474 #define...

builtin/uniforms/cc-global.chunk 0

builtin/uniforms/cc-global.chunk

Nội dung file // Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. // have to specify precisions explicitly // if shared among stages with different precisions #pragma builtin(global) layout(set = 0, binding = 0)...