[PR #435] rdna2spirv: accept VOP3 clamp/omod as hardware no-op on v_cvt_{i16,u16}_f16 #486

Open
opened 2026-11-26 20:18:02 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/435
Author: @tahffo68hk-hash
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: fix/shader-cvt16-outmod-noop


📝 Commits (1)

  • 3cc3c6c rdna2spirv: accept VOP3 clamp/omod as hardware no-op on v_cvt_{i16,u16}_f16

📊 Changes

2 files changed (+35 additions, -5 deletions)

View changed files

📝 tests/semantic/test_alu_cvt_16.py (+16 -4)
📝 tools/rdna2spirv.py (+19 -1)

📄 Description

Summary

(AI-assisted) Fixes SHADER-CVT16-OUTMOD-NOOP: ools/rdna2spirv.py previously rejected VOP3 clamp, mul:2, mul:4, and div:2 (and SDWA clamp) with Unsupported on the integer-destination 16-bit conversions _cvt_i16_f16 and _cvt_u16_f16.

Native RDNA2 hardware measurement (gfx1036) across all 4 HW_REG_MODE configurations (


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/435 **Author:** [@tahffo68hk-hash](https://github.com/tahffo68hk-hash) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/shader-cvt16-outmod-noop` --- ### 📝 Commits (1) - [`3cc3c6c`](https://github.com/ubiquitarianism/leonida/commit/3cc3c6c2e5bfa95ddaa5cce9f882366f1c86453a) rdna2spirv: accept VOP3 clamp/omod as hardware no-op on v_cvt_{i16,u16}_f16 ### 📊 Changes **2 files changed** (+35 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tests/semantic/test_alu_cvt_16.py` (+16 -4) 📝 `tools/rdna2spirv.py` (+19 -1) </details> ### 📄 Description ### Summary (AI-assisted) Fixes SHADER-CVT16-OUTMOD-NOOP: ools/rdna2spirv.py previously rejected VOP3 clamp, mul:2, mul:4, and div:2 (and SDWA clamp) with Unsupported on the integer-destination 16-bit conversions _cvt_i16_f16 and _cvt_u16_f16. Native RDNA2 hardware measurement (gfx1036) across all 4 HW_REG_MODE configurations ( --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#486
No description provided.