KhronosGroup / KhronosGroup/glslang

HLSL: support SV_InnerCoverage

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

Description

Hi,
DX12 and DX11.3 support optional conservative rasterization.. there are tiers of support and tier3 adds HLSL builtin SV_InnerCoverage..
now that there is a Vulkan extension (VK_EXT_conservative_rasterization) for that and SPIR-V ext SPV_EXT_fragment_fully_covered that adds equivalent new SPIR-V FullyCoveredEXT built in would be nice to have in glslang..
right now only testable by NV Titan V owners..

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing glslang's HLSL and SPIR-V support for the conservative-rasterization built-ins, then verify how SV_InnerCoverage should map to FullyCoveredEXT. Done means glslang supports the requested builtin and has coverage for the DX11.3/DX12 and Vulkan/SPIR-V equivalents.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.