mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-04 22:22:43 -07:00
updates to scripts
This commit is contained in:
@@ -79,8 +79,8 @@ function build-SokolBackendDemo
|
||||
{
|
||||
write-host 'Building VEFontCache: Sokol Backend Demo'
|
||||
|
||||
$compile_shaders = join-path $path_scripts "compile_sokol_shaders.ps1"
|
||||
& $compile_shaders
|
||||
# $compile_shaders = join-path $path_scripts "compile_sokol_shaders.ps1"
|
||||
# & $compile_shaders
|
||||
|
||||
$executable = join-path $path_build 'sokol_demo.exe'
|
||||
$pdb = join-path $path_build 'sokol_demo.pdb'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
$devshell = Join-Path $PSScriptRoot 'devshell.ps1'
|
||||
$devshell = Join-Path $PSScriptRoot 'helpers/devshell.ps1'
|
||||
& $devshell -arch amd64
|
||||
|
||||
$path_root = '../..'
|
||||
|
@@ -24,7 +24,7 @@ $flag_format_odin = '--format=sokol_odin'
|
||||
$flag_module = '--module'
|
||||
|
||||
push-location $path_backend_sokol
|
||||
& $sokol_shdc --input $shadersrc_blit_atlas --output $shaderout_blit_atlas --slang 'hlsl4' $flag_format_odin $flag_module='blit_atlas'
|
||||
& $sokol_shdc --input $shadersrc_render_glyph --output $shaderout_render_glyph --slang 'hlsl4' $flag_format_odin $flag_module='render_glyph'
|
||||
& $sokol_shdc --input $shadersrc_draw_text --output $shaderout_draw_text --slang 'hlsl4' $flag_format_odin $flag_module='draw_text'
|
||||
& $sokol_shdc --input $shadersrc_blit_atlas --output $shaderout_blit_atlas --slang 'glsl410:glsl300es:hlsl4:metal_macos:wgsl' $flag_format_odin $flag_module='blit_atlas'
|
||||
& $sokol_shdc --input $shadersrc_render_glyph --output $shaderout_render_glyph --slang 'glsl410:glsl300es:hlsl4:metal_macos:wgsl' $flag_format_odin $flag_module='render_glyph'
|
||||
& $sokol_shdc --input $shadersrc_draw_text --output $shaderout_draw_text --slang 'glsl410:glsl300es:hlsl4:metal_macos:wgsl' $flag_format_odin $flag_module='draw_text'
|
||||
pop-location
|
||||
|
Reference in New Issue
Block a user