Skip to content

Commit

Permalink
deps: update SPIRV-Tools
Browse files Browse the repository at this point in the history
Updated the SPIRV-Tools version.

Fixes #6915

Signed-off-by: Nathan Gauër <[email protected]>
  • Loading branch information
Keenuts committed Oct 24, 2024
1 parent db90a46 commit 30bd159
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions tools/clang/test/CodeGenSPIRV/vk.shading-rate.optimized.hlsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// RUN: %dxc -T vs_6_6 -E main -spirv -fspv-target-env=vulkan1.3 %s | FileCheck %s

// CHECK-NOT: OpDecorate %unused DescriptorSet
// CHECK-NOT: OpDecorate %unused Binding
RWStructuredBuffer<uint> unused;

struct in0
{
float4 position : POSITION;
float2 uv : TEXCOORD0;
};

struct out0
{
float4 pos : SV_Position;
uint sr : SV_ShadingRate;
};

// CHECK-NOT: OpEntryPoint Vertex %main "main" %in_var_POSITION %in_var_TEXCOORD0 %gl_Position %{{.*}} %unused
// CHECK: OpEntryPoint Vertex %main "main" %gl_Position %{{.*}}
out0 main(in0 i)
{
return (out0) 0;
}

0 comments on commit 30bd159

Please sign in to comment.