Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wgpu-core: Only produce StageError::InputNotConsumed on DX11/DX12 #4222

Merged
merged 1 commit into from
Oct 11, 2023

Commits on Oct 10, 2023

  1. wgpu-core: Only produce StageError::InputNotConsumed on DX11/DX12 (gf…

    …x-rs#4116)
    
    * wgpu-core: Only produce StageError::InputNotConsumed on DX11/DX12
    
    This error only exists due to an issue with naga's HLSL support:
    gfx-rs/naga#1945
    The WGPU spec itself allows vertex shader outputs that are
    not consumed by the fragment shader.
    
    Until the issue is fixed, we can allow unconsumed outputs on
    all platforms other than DX11/DX12.
    
    * Add Features::SHADER_UNUSED_VERTEX_OUTPUT to allow disabling check
    
    * Pick an unused feature id
    Aaron1011 authored and torokati44 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    fa5d00d View commit details
    Browse the repository at this point in the history