Fix vk::BufferPointer for non-SPIR-V builds #7305
Build #20250403.16 had test failures
Details
- Failed: 18 (0.07%)
- Passed: 24,948 (99.93%)
- Other: 0 (0.00%)
- Total: 24,966
Annotations
Check failure on line 467 in Build log
azure-pipelines / microsoft.DirectXShaderCompiler
Build log #L467
Cmd.exe exited with code '1'.
Check failure on line 4278 in Build log
azure-pipelines / microsoft.DirectXShaderCompiler
Build log #L4278
Bash exited with code '1'.
Check failure on line 4278 in Build log
azure-pipelines / microsoft.DirectXShaderCompiler
Build log #L4278
Bash exited with code '1'.
Check failure on line 4264 in Build log
azure-pipelines / microsoft.DirectXShaderCompiler
Build log #L4264
Bash exited with code '1'.
Check failure on line 1 in vk.buffer-pointer.alias.cs.hlsl
azure-pipelines / microsoft.DirectXShaderCompiler
vk.buffer-pointer.alias.cs.hlsl
Test failed
Raw output
Script:
--
/Users/runner/work/1/s/build/./bin/dxc -spirv -E main -T cs_6_7 /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl | /Users/runner/work/1/s/build/./bin/FileCheck /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl
--
Exit Code: 2
Command Output (stderr):
--
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl:10:27: error: 'BufferContent' (aka 'BufferPointer<Content>') is an object and cannot be used as a type parameter
typedef vk::BufferPointer<BufferContent> BufferBuffer;
^
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl:20:16: error: invalid format for vector swizzle 'Get'
foo(rwbuf[0].Get());
^
FileCheck error: '-' is empty.
--
Check failure on line 1 in vk.buffer-pointer.error2.hlsl
azure-pipelines / microsoft.DirectXShaderCompiler
vk.buffer-pointer.error2.hlsl
Test failed
Raw output
Script:
--
not /Users/runner/work/1/s/build/./bin/dxc -spirv -E main -T cs_6_7 /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error2.hlsl 2>&1 | /Users/runner/work/1/s/build/./bin/FileCheck /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error2.hlsl
--
Exit Code: 1
Command Output (stderr):
--
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error2.hlsl:18:11: error: expected string not found in input
// CHECK: vk::push_constant attribute cannot be used on declarations with vk::BufferPointer type
^
<stdin>:1:1: note: scanning from here
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error2.hlsl:8:27: error: 'Globals_p' (aka 'BufferPointer<Globals_s>') is an object and cannot be used as a type parameter
^
<stdin>:4:93: note: possible intended match here
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error2.hlsl:10:3: error: 'push_constant' attribute only applies to global variables of struct type
^
--
Check failure on line 1 in vk.buffer-pointer.alias.cs.hlsl
azure-pipelines / microsoft.DirectXShaderCompiler
vk.buffer-pointer.alias.cs.hlsl
Test failed
Raw output
Script:
--
/Users/runner/work/1/s/build/./bin/dxc -spirv -E main -T cs_6_7 /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl | /Users/runner/work/1/s/build/./bin/FileCheck /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl
--
Exit Code: 2
Command Output (stderr):
--
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl:10:27: error: 'BufferContent' (aka 'BufferPointer<Content>') is an object and cannot be used as a type parameter
typedef vk::BufferPointer<BufferContent> BufferBuffer;
^
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.alias.cs.hlsl:20:16: error: invalid format for vector swizzle 'Get'
foo(rwbuf[0].Get());
^
FileCheck error: '-' is empty.
--
Check failure on line 1 in vk.buffer-pointer.error6.hlsl
azure-pipelines / microsoft.DirectXShaderCompiler
vk.buffer-pointer.error6.hlsl
Test failed
Raw output
Script:
--
not /Users/runner/work/1/s/build/./bin/dxc -spirv -E main -T cs_6_7 /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error6.hlsl 2>&1 | /Users/runner/work/1/s/build/./bin/FileCheck /Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error6.hlsl
--
Exit Code: 1
Command Output (stderr):
--
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error6.hlsl:22:11: error: expected string not found in input
// CHECK: cannot initialize a variable of type 'BufferPointer<BufferContent>' with an lvalue of type 'BufferPointer<Content>'
^
<stdin>:1:1: note: scanning from here
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error6.hlsl:8:27: error: 'BufferContent' (aka 'BufferPointer<Content>') is an object and cannot be used as a type parameter
^
<stdin>:7:92: note: possible intended match here
/Users/runner/work/1/s/tools/clang/test/CodeGenSPIRV/vk.buffer-pointer.error6.hlsl:19:23: error: cannot initialize a variable of type 'BufferBuffer' (aka 'int') with an lvalue of type 'BufferContent' (aka 'BufferPointer<Content>')
^
--