halx99
42fcb1f86e
glslcc workflow: metal init commit
2023-07-14 23:07:47 +08:00
RH
0c17a35fa8
Fix for crash in TextureCache test ( #1267 )
2023-07-11 21:55:17 +08:00
Deal(涓€绾跨伒)
4307d42452
Fix missing flag `--lang` for metal
2023-07-11 17:06:20 +08:00
halx99
17a3e6408b
Re-enable flat-ubos
2023-07-11 15:43:50 +08:00
halx99
5d7a86a1b9
Merge: 89a739a8ea
09a3a950ae
...
Merge branch 'dev' into 1.1-dev
2023-07-10 15:57:00 +08:00
RH
ce590c24a0
Fix for crashes in several tests ( #1259 )
2023-07-09 14:45:41 +08:00
halx99
ed6ec7a32d
[GLSLCC] Suppression macro not defined errors
2023-07-09 12:04:58 +08:00
halx99
d0f7334476
Don't flat ubos since it doesn't work
2023-07-09 11:20:29 +08:00
halx99
7a808cd46b
Improve AXGLSLCC.cmake
...
By default, output compiled shader
to `${CMAKE_BINARY_DIR}/runtime/axslc`,
then link it to `$<TARGET_FILE_DIR::target_name>/axslc`
2023-07-08 17:17:10 +08:00
halx99
17ee3e6f69
Don't add .bin for glslcc shader compile output by default
2023-07-07 19:31:46 +08:00
halx99
b21735a9bb
[CMake] Add find shader sources function:
...
Syntax: ax_find_shaders(dir shader_sources [RECURSE])
examples:
- ax_find_shaders("${CMAKE_CURRENT_LIST_DIR}/core/renderer/shaders" runtime_shader_sources)
- ax_find_shaders("${CMAKE_CURRENT_LIST_DIR}/Source" custom_shader_sources RECURSE)
2023-07-06 21:15:28 +08:00
halx99
acc47b3281
Bump 1.1.0
2023-07-06 20:37:59 +08:00
halx99
94b5705bd3
Improve cmake script
...
- glslcc helper function
- Rename ax_add_shader to ax_target_compile_shaders
- Provide argument FILES for specify single or multi shader
source files support, i.e.
ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00