KhronosGroup / KhronosGroup/GLSL

Add [[cmov]] and [[unroll]] with a count of unrolls to perform on top of GL_EXT_control_flow_attributes

Open
#140 0 comments 0 reactions 0 assignees View on GitHub
Vulkan
Dominant language
JavaScript
Stars
458
Forks
114
Avg merge
4m
Merged PRs (30d)
1

Description

Id would be good to ensure that certain `?` expressions dont compile into an if-statement.

Also manually specifying the number of unrolls that can be performed would be nice.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the GLSL specification and the GL_EXT_control_flow_attributes extension referenced in the title. Clarify the intended semantics for [[cmov]] and for specifying an unroll count, including how completion would be verified in the specification and related extension text.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.