KhronosGroup / KhronosGroup/glslang

Support for SPV_KHR_float_controls

Open
#1,680 0 comments 0 reactions 0 assignees View on GitHub
enhancement GLSL/ESSL HLSL SPIR-V
Dominant language
C++
Stars
3.6k
Forks
989
Avg merge
1d 2h
Merged PRs (30d)
31

Description

This would allow annotating functions to specify the new execution modes such as rounding modes. Not sure how this would be done syntactically to keep the impact on the language minimal. Maybe something like [C++ attributes](https://en.cppreference.com/w/cpp/language/attributes)?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing the compiler's existing execution-mode and function-annotation handling, then compare it with SPV_KHR_float_controls and the proposed C++-attribute-like syntax. Done means an agreed minimal syntax and implementation plan for annotating functions with the requested execution modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
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.