From 2b228bed52e24e8655046d60d17b08b92f3c9a54 Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 5 Feb 2026 16:47:48 -0300 Subject: [PATCH] Update re-spirv with more derivative operations. (cherry picked from commit 0877a968d9711d8e39c7d92344dcfa24b394c2e5) --- thirdparty/README.md | 2 +- thirdparty/re-spirv/re-spirv.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/thirdparty/README.md b/thirdparty/README.md index e872d1a850..4d8cd00bdf 100644 --- a/thirdparty/README.md +++ b/thirdparty/README.md @@ -912,7 +912,7 @@ Files extracted from upstream source: ## re-spirv - Upstream: https://github.com/renderbag/re-spirv -- Version: git (5af3b606e6aaf11bae8dc7b5cd236c943e24865e, 2025) +- Version: git (c1853b0221cd43866b792406f55c4ab10a0b4503, 2026) - License: MIT Files extracted from upstream source: diff --git a/thirdparty/re-spirv/re-spirv.cpp b/thirdparty/re-spirv/re-spirv.cpp index 64c31decd9..2815e40866 100644 --- a/thirdparty/re-spirv/re-spirv.cpp +++ b/thirdparty/re-spirv/re-spirv.cpp @@ -182,6 +182,12 @@ namespace respv { case SpvOpDPdx: case SpvOpDPdy: case SpvOpFwidth: + case SpvOpDPdxFine: + case SpvOpDPdyFine: + case SpvOpFwidthFine: + case SpvOpDPdxCoarse: + case SpvOpDPdyCoarse: + case SpvOpFwidthCoarse: case SpvOpControlBarrier: case SpvOpMemoryBarrier: case SpvOpAtomicLoad: @@ -359,6 +365,12 @@ namespace respv { case SpvOpDPdx: case SpvOpDPdy: case SpvOpFwidth: + case SpvOpDPdxFine: + case SpvOpDPdyFine: + case SpvOpFwidthFine: + case SpvOpDPdxCoarse: + case SpvOpDPdyCoarse: + case SpvOpFwidthCoarse: case SpvOpGroupNonUniformElect: case SpvOpCopyLogical: rOperandWordStart = 3;