Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
94d2803
shader: compile direct mesh and pixel stages and prewarm native compu…
R0Y00 Nov 27, 2026
0e95ef2
tests: keep fixed vertex submission in the runtime integration
R0Y00 Nov 27, 2026
a48d39d
merge main: preserve 64-bit shift and quad compare register invalidation
R0Y00 Nov 27, 2026
de567a7
Merge main into native shader modules and preserve watcher dependencies
R0Y00 Nov 28, 2026
247530b
Merge remote-tracking branch 'origin/main' into HEAD
R0Y00 Nov 28, 2026
e31ffc6
shader: invalidate watch manifests on older-mtime sidecar changes
legacy-code-archaeologist Nov 27, 2026
cead019
shader: merge current main into the native shader module stack
lambirou Nov 28, 2026
cf19be3
compute: validate a request before reading its wave-size bit
lambirou Nov 28, 2026
f7bf5e2
shader: merge main 9872074a into the native shader stack
lambirou Nov 28, 2026
4a00791
shader: merge main a44e1f95 into the native shader stack
lambirou Nov 28, 2026
2a0c240
shader: merge main a166a753 into the native shader stack
lambirou Nov 28, 2026
cd746f6
compute: refuse implicit derivatives in virtual wave64 groups
lambirou Nov 28, 2026
0b505c1
Merge pull request #3138 from legacy-code-archaeologist/shader/watch-…
JohnConnorNPC Nov 28, 2026
71e23ba
tooling: accept reviewed address-only mesh pixel inputs (#3308)
R0Y00 Nov 28, 2026
4133425
shader: merge codex/native-shader-modules into the refresh branch
lambirou Nov 28, 2026
86cf5aa
shader: merge main 3926a289 into the native shader stack
lambirou Nov 28, 2026
48b2027
Merge remote-tracking branch 'origin/main' into merge/native-shader-m…
lambirou Nov 28, 2026
07e8daa
Integrate the reviewed native shader main refresh
R0Y00 Nov 28, 2026
b30d8f1
Sync the native shader compiler with current main
R0Y00 Nov 28, 2026
c8e37cc
Keep mesh transfer calls on the full-width graphics path
R0Y00 Nov 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ if(WIN32)
set(native_shader_revision "")
foreach(source gfx1013_compute_native.cpp gfx1013_compute_native.h gfx1013_compute_opcodes.inl gfx1013_graphics_wqm.inl
gfx1013_isa_tables.inl gfx1013_isa.cpp gfx1013_isa.h gfx1013_compute_alu.inl gfx1013_direct_compute.inl gfx1013_compute_ir.cpp gfx1013_compute_ir.h
gfx1013_compute_mtbuf.inl gfx1013_direct_graphics.inl gfx1013_rect_geometry.cpp guest_shader_container.cpp guest_shader_container.h
dxil_module.h direct_compute_cache.cpp direct_compute_cache.h
gfx1013_compute_mtbuf.inl gfx1013_direct_graphics.inl gfx1013_direct_mesh.inl gfx1013_pixel_waterfall.inl gfx1013_rect_geometry.cpp guest_shader_container.cpp guest_shader_container.h
dxil_module.h mesh_pixel_heap.h direct_compute_cache.cpp direct_compute_cache.h
shader_compute_request.cpp shader_compute_request.h startup_stubs/inflate.h)
set(native_shader_file "${CMAKE_CURRENT_SOURCE_DIR}/src/${source}")
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${native_shader_file}")
Expand Down Expand Up @@ -1951,6 +1951,10 @@ if(TARGET compile_dxil AND EXISTS "${DXC_BIN_DIR}/dxcompiler.dll" AND EXISTS "${
add_test(NAME native_sampled_replay COMMAND "${INTAKE_PYTHON}" -B "${CMAKE_SOURCE_DIR}/tests/native_sampled_replay_check.py"
"$<TARGET_FILE:native_sampled_pixel_gpu>" "$<TARGET_FILE:compile_dxil>" "${DXC_BIN_DIR}")
foreach(backend IN ITEMS warp hardware)
add_test(NAME native_indexed_pixel_texture_${backend} COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_SOURCE_DIR}/tests/native_indexed_pixel_texture_check.py" "$<TARGET_FILE:native_sampled_pixel_gpu>"
"$<TARGET_FILE:compile_dxil>" "${DXC_BIN_DIR}" ${backend})
set_tests_properties(native_indexed_pixel_texture_${backend} PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 60)
add_test(NAME native_buffered_vertex_${backend} COMMAND native_buffered_vertex_gpu ${backend} "${DXC_BIN_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}/native-buffered-${backend}")
set_tests_properties(native_buffered_vertex_${backend} PROPERTIES SKIP_RETURN_CODE 77)
Expand Down Expand Up @@ -1986,6 +1990,23 @@ if(TARGET compile_dxil AND EXISTS "${DXC_BIN_DIR}/dxcompiler.dll" AND EXISTS "${
add_test(NAME native_direct_container
COMMAND "${INTAKE_PYTHON}" -B "${CMAKE_SOURCE_DIR}/tests/native_direct_container_check.py"
"$<TARGET_FILE:compile_dxil>" "${DXC_BIN_DIR}")
add_test(NAME native_direct_mesh
COMMAND "${INTAKE_PYTHON}" -B "${CMAKE_SOURCE_DIR}/tests/native_direct_mesh_check.py"
"$<TARGET_FILE:compile_dxil>" "${DXC_BIN_DIR}")
add_executable(native_frozen_request_check tests/native_frozen_request_check.cpp)
target_include_directories(native_frozen_request_check PRIVATE src)
target_compile_features(native_frozen_request_check PRIVATE cxx_std_17)
target_link_libraries(native_frozen_request_check PRIVATE x2w_shader_compiler)
set_property(TARGET native_frozen_request_check PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
add_test(NAME native_frozen_request COMMAND native_frozen_request_check)
add_executable(native_compute_pack_check tests/native_compute_pack_check.cpp)
target_link_libraries(native_compute_pack_check PRIVATE x2w_shader_compiler)
target_include_directories(native_compute_pack_check PRIVATE src)
target_compile_features(native_compute_pack_check PRIVATE cxx_std_17)
set_property(TARGET native_compute_pack_check PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
add_test(NAME native_compute_pack COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_SOURCE_DIR}/tests/native_compute_pack_check.py" "$<TARGET_FILE:compile_dxil>"
"$<TARGET_FILE:native_compute_pack_check>" "${DXC_BIN_DIR}")
foreach(adapter IN ITEMS warp hardware)
foreach(case IN ITEMS r rg rgb array volume rgba sparse)
add_test(NAME native_image_store_exact_width_${adapter}_${case}
Expand All @@ -2002,6 +2023,12 @@ if(TARGET compile_dxil AND EXISTS "${DXC_BIN_DIR}/dxcompiler.dll" AND EXISTS "${
"${CMAKE_SOURCE_DIR}/tests/native_graphics_wqm_check.py" "$<TARGET_FILE:compile_dxil>"
"$<TARGET_FILE:offscreen_check>" "${DXC_BIN_DIR}")
set_tests_properties(native_graphics_wqm_hardware PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 60)
foreach(adapter warp hardware)
add_test(NAME native_graphics_sampler_heap_${adapter} COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_SOURCE_DIR}/tests/native_graphics_sampler_heap_check.py" "$<TARGET_FILE:compile_dxil>"
"$<TARGET_FILE:offscreen_check>" "${DXC_BIN_DIR}" ${adapter})
set_tests_properties(native_graphics_sampler_heap_${adapter} PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 60)
endforeach()
add_test(NAME native_graphics_interface_library
COMMAND "${INTAKE_PYTHON}" -B "${CMAKE_SOURCE_DIR}/tests/native_graphics_interface_library_check.py"
"$<TARGET_FILE:compile_dxil>" "${DXC_BIN_DIR}")
Expand Down
Loading
Loading