llvm / llvm/llvm-project

[HLSL] For RWBuffer adjust the concept expr to support bools

Open
#179,525 2 comments 0 reactions 0 assignees View on GitHub
HLSL
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

RWBuffer fails compilation since the concept rejects the bool element type. The fix is to update the concept

Repro: https://godbolt.org/z/hExTe3nz1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the RWBuffer compilation failure with the linked Godbolt example, then trace the HLSL RWBuffer concept expression that rejects the bool element type. Done means the concept accepts bool elements and the reproduction compiles successfully, with relevant compiler tests passing if you locate them.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.