Skip to content

Commit f6686fa

Browse files
committed
Debug, only run windows release CI
1 parent 1fa1a25 commit f6686fa

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.github/workflows/ci.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
os: [linux, macos, windows]
16-
config: [debug, release]
15+
os: [windows]
16+
config: [release]
1717
compiler: [gcc, clang, cl]
18-
platform: [x86_64, aarch64, wasm]
18+
platform: [x86_64]
1919
exclude:
2020
# Default to x64, but aarch64 on osx
2121
- { os: linux, platform: aarch64 }
@@ -32,13 +32,9 @@ jobs:
3232
- { os: macos, compiler: gcc }
3333
- { os: macos, compiler: cl }
3434
include:
35-
- { os: linux, runs-on: ubuntu-20.04 }
36-
- { os: macos, runs-on: macos-latest }
3735
- { os: windows, runs-on: windows-latest }
3836
# Warnings are treated as errors by default.
3937
# But we may want to disable it temporarily.
40-
- { os: linux, warnings-as-errors: true }
41-
- { os: macos, warnings-as-errors: true }
4238
- { os: windows, warnings-as-errors: true }
4339
# Set a test category depending on the config, smoke by default,
4440
# quick or full conditionally otherwise
@@ -49,16 +45,6 @@ jobs:
4945
- full-gpu-tests: false
5046
# The runners don't have a GPU by default except for the self-hosted ones
5147
- has-gpu: false
52-
# Self-hosted aarch64 build
53-
- os: linux
54-
config: release
55-
compiler: gcc
56-
platform: aarch64
57-
test-category: smoke
58-
full-gpu-tests: false
59-
runs-on: [self-hosted, Linux, ARM64]
60-
has-gpu: true
61-
# Self-hosted full gpu build
6248
- os: windows
6349
config: release
6450
compiler: cl

tools/gfx/renderer-shared.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,11 @@ Result ShaderProgramBase::compileShaders(RendererBase* device)
11401140
slang::IModulePrecompileService_Experimental::getTypeGuid(),
11411141
(void**)componentPrecompileService.writeRef()) == SLANG_OK)
11421142
{
1143+
printf("componentPrecompileService true\n");
11431144
SlangInt dependencyCount = componentPrecompileService->getModuleDependencyCount();
11441145
if (dependencyCount > 0)
11451146
{
1147+
printf("modulePrecompileService sees dependencycount %d\n", dependencyCount);
11461148
for (int dependencyIndex = 0; dependencyIndex < dependencyCount; dependencyIndex++)
11471149
{
11481150
ComPtr<slang::IModule> dependencyModule;
@@ -1175,15 +1177,20 @@ Result ShaderProgramBase::compileShaders(RendererBase* device)
11751177
(void**)precompileService.writeRef());
11761178
if (result == SLANG_OK)
11771179
{
1180+
printf("modulePrecompileService true\n");
11781181
ComPtr<slang::IBlob> diagnosticsBlob;
11791182
auto result = precompileService->getPrecompiledTargetCode(
11801183
SLANG_SPIRV,
11811184
spirv.writeRef(),
11821185
diagnosticsBlob.writeRef());
11831186
if (result == SLANG_OK)
11841187
{
1188+
printf("modulePrecompileService returned true, get blob, add to kernelCodes\n");
11851189
kernelCodes.add(spirv);
11861190
}
1191+
else {
1192+
printf("modulePrecompileService returned false, no blob\n");
1193+
}
11871194
if (diagnosticsBlob)
11881195
{
11891196
DebugMessageType msgType = DebugMessageType::Warning;

0 commit comments

Comments
 (0)