Skip to content

Commit

Permalink
Copy WARP to the debug dir
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Nov 19, 2024
1 parent ed3f901 commit f9e5003
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 1 deletion.
66 changes: 66 additions & 0 deletions .github/workflows/windows-direct3d12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Get Submodules
run: ./get_dlc

- name: Copy WARP
working-directory: Shader
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile Shader
working-directory: Shader
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -34,6 +37,9 @@ jobs:
with:
name: Shader image
path: Shader/Deployment/test.png
- name: Copy WARP
working-directory: Texture
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile Texture
working-directory: Texture
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -46,6 +52,9 @@ jobs:
with:
name: Texture image
path: Texture/Deployment/test.png
- name: Copy WARP
working-directory: ComputeShader
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile ComputeShader
working-directory: ComputeShader
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -58,6 +67,9 @@ jobs:
with:
name: ComputeShader image
path: ComputeShader/Deployment/test.png
- name: Copy WARP
working-directory: TextureArray
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile TextureArray
working-directory: TextureArray
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -70,6 +82,9 @@ jobs:
with:
name: TextureArray image
path: TextureArray/Deployment/test.png
- name: Copy WARP
working-directory: Raytracing
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile Raytracing
working-directory: Raytracing
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -82,6 +97,9 @@ jobs:
with:
name: Raytracing image
path: Raytracing/Deployment/test.png
- name: Copy WARP
working-directory: Bindless
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile Bindless
working-directory: Bindless
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -94,6 +112,9 @@ jobs:
with:
name: Bindless image
path: Bindless/Deployment/test.png
- name: Copy WARP
working-directory: 00_empty
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 00_empty
working-directory: 00_empty
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -106,6 +127,9 @@ jobs:
with:
name: 00_empty image
path: 00_empty/Deployment/test.png
- name: Copy WARP
working-directory: 01_triangle
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 01_triangle
working-directory: 01_triangle
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -118,6 +142,9 @@ jobs:
with:
name: 01_triangle image
path: 01_triangle/Deployment/test.png
- name: Copy WARP
working-directory: 02_matrix
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 02_matrix
working-directory: 02_matrix
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -130,6 +157,9 @@ jobs:
with:
name: 02_matrix image
path: 02_matrix/Deployment/test.png
- name: Copy WARP
working-directory: 03_colored_cube
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 03_colored_cube
working-directory: 03_colored_cube
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -142,6 +172,9 @@ jobs:
with:
name: 03_colored_cube image
path: 03_colored_cube/Deployment/test.png
- name: Copy WARP
working-directory: 04_textured_cube
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 04_textured_cube
working-directory: 04_textured_cube
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -154,6 +187,9 @@ jobs:
with:
name: 04_textured_cube image
path: 04_textured_cube/Deployment/test.png
- name: Copy WARP
working-directory: 05_camera_controls
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 05_camera_controls
working-directory: 05_camera_controls
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -166,6 +202,9 @@ jobs:
with:
name: 05_camera_controls image
path: 05_camera_controls/Deployment/test.png
- name: Copy WARP
working-directory: 06_render_targets
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 06_render_targets
working-directory: 06_render_targets
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -178,6 +217,9 @@ jobs:
with:
name: 06_render_targets image
path: 06_render_targets/Deployment/test.png
- name: Copy WARP
working-directory: 07_multiple_render_targets
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 07_multiple_render_targets
working-directory: 07_multiple_render_targets
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -190,6 +232,9 @@ jobs:
with:
name: 07_multiple_render_targets image
path: 07_multiple_render_targets/Deployment/test.png
- name: Copy WARP
working-directory: 08_float_render_targets
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 08_float_render_targets
working-directory: 08_float_render_targets
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -202,6 +247,9 @@ jobs:
with:
name: 08_float_render_targets image
path: 08_float_render_targets/Deployment/test.png
- name: Copy WARP
working-directory: 09_depth_render_targets
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 09_depth_render_targets
working-directory: 09_depth_render_targets
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -214,6 +262,9 @@ jobs:
with:
name: 09_depth_render_targets image
path: 09_depth_render_targets/Deployment/test.png
- name: Copy WARP
working-directory: 10_cubemap
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 10_cubemap
working-directory: 10_cubemap
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -226,6 +277,9 @@ jobs:
with:
name: 10_cubemap image
path: 10_cubemap/Deployment/test.png
- name: Copy WARP
working-directory: 11_instanced_rendering
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 11_instanced_rendering
working-directory: 11_instanced_rendering
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -238,6 +292,9 @@ jobs:
with:
name: 11_instanced_rendering image
path: 11_instanced_rendering/Deployment/test.png
- name: Copy WARP
working-directory: 12_set_render_target_depth
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 12_set_render_target_depth
working-directory: 12_set_render_target_depth
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -250,6 +307,9 @@ jobs:
with:
name: 12_set_render_target_depth image
path: 12_set_render_target_depth/Deployment/test.png
- name: Copy WARP
working-directory: 13_generate_mipmaps
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 13_generate_mipmaps
working-directory: 13_generate_mipmaps
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -262,6 +322,9 @@ jobs:
with:
name: 13_generate_mipmaps image
path: 13_generate_mipmaps/Deployment/test.png
- name: Copy WARP
working-directory: 14_set_mipmap
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 14_set_mipmap
working-directory: 14_set_mipmap
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand All @@ -274,6 +337,9 @@ jobs:
with:
name: 14_set_mipmap image
path: 14_set_mipmap/Deployment/test.png
- name: Copy WARP
working-directory: 15_deinterleaved_buffers
run: echo F|xcopy D:\a\KopeKong-Samples\KopeKong-Samples\Microsoft.Direct3D.WARP.1.0.13\build\native\bin\x64\d3d10warp.dll build\x64\Debug\d3d10warp.dll
- name: Compile 15_deinterleaved_buffers
working-directory: 15_deinterleaved_buffers
run: ../Kinc/make windows -v vs2022 -g direct3d12 --option screenshot --debug --run
Expand Down
5 changes: 4 additions & 1 deletion write_workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ ${postfixSteps}
const vs = workflow.vs ? ' -v ' + workflow.vs : '';

workflowText +=
` - name: Compile ${sample}
` - name: Copy WARP
working-directory: ${sample}
run: echo F|xcopy D:\\a\\KopeKong-Samples\\KopeKong-Samples\\Microsoft.Direct3D.WARP.1.0.13\\build\\native\\bin\\x64\\d3d10warp.dll build\\x64\\Debug\\d3d10warp.dll
- name: Compile ${sample}
working-directory: ${sample}
run: ${prefix}../Kinc/make ${sys}${vs}${gfx}${options} --option screenshot --debug --run${postfix}
- name: Check ${sample}
Expand Down

0 comments on commit f9e5003

Please sign in to comment.