llvm / llvm/llvm-project

[HLSL] Allow 64-bit integer specialization constants

Open
#167,017 0 comments 0 reactions 0 assignees View on GitHub
backend:SPIR-V HLSL
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

We do not have 64-bit specialization constant allowed yet. There is not good reason to not allow them.

- [ ] Implement in Clang
- [ ] Add test to the offload test suite

Contributor guide

Open the contributing guide

Research direction

Start by locating the relevant specialization-constant handling in Clang and review how existing integer widths are supported. Then inspect the offload test suite; done means 64-bit integer specialization constants are accepted for HLSL and covered by an added test.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.