- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.1k
 
Add mesh shading info to naga IR #8104
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
          
     Merged
      
      
            cwfitzgerald
  merged 72 commits into
  gfx-rs:trunk
from
inner-daemons:mesh-shading/naga-ir
  
      
      
   
  Oct 29, 2025 
      
    
      
        
          +1,419
        
        
          −112
        
        
          
        
      
    
  
  
     Merged
                    Changes from 34 commits
      Commits
    
    
            Show all changes
          
          
            72 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1c90d19
              
                Initial commit
              
              
                inner-daemons 8c3e550
              
                Other initial changes
              
              
                inner-daemons 85bbc5a
              
                Updated shader snapshots
              
              
                inner-daemons ccf8467
              
                Added new HLSL limitation
              
              
                inner-daemons e55c02f
              
                Moved error to global variable error
              
              
                inner-daemons f3a31a4
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 0f6da75
              
                Added docs to per_primitive
              
              
                inner-daemons 3017214
              
                Added a little bit more docs here and there in IR
              
              
                inner-daemons 19b55b5
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 198437b
              
                Adding validation to ensure that task shaders have a task payload
              
              
                inner-daemons 64000e4
              
                Updated spec to reflect the change to payload variables
              
              
                inner-daemons 0575e98
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons b572ec7
              
                Updated the mesh shading spec because it was goofy
              
              
                inner-daemons 34d0411
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 02664e4
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 7bec4dd
              
                some doc tweaks
              
              
                jimblandy 2fcb853
              
                Tried to clarify docs a little
              
              
                inner-daemons 3009b5a
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 8bfe106
              
                Tried to update spec
              
              
                inner-daemons 6ccaeec
              
                Removed a warning
              
              
                inner-daemons 5b7ba11
              
                Addressed comment about docs mistake
              
              
                inner-daemons 29c6972
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 63fa8b5
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 26c8681
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons d9cac9c
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons c112cb4
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons e1ff67d
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 64644f7
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 739948b
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 7ca25a4
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 09ddbec
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 2d6a647
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 4657646
              
                Review in progress
              
              
                jimblandy 41b654c
              
                mesh_shading.md: more tweaks
              
              
                jimblandy 33ed0a6
              
                Ran cargo fmt
              
              
                inner-daemons 53ecb39
              
                Small tweaks
              
              
                inner-daemons 0ead329
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 07bfb1f
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons ba51fa2
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons c4e3eef
              
                [naga] Move definition of `ShaderStage::compute_like` to `proc`.
              
              
                jimblandy 8c9287d
              
                Replace TODO comment with followup issue.
              
              
                jimblandy 8f04d4f
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 3a8399d
              
                Update analyzer.rs
              
              
                inner-daemons 879b79b
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons d92fe67
              
                Removed stuff in accordance with Jim's recommendation
              
              
                inner-daemons 2dc4090
              
                minor changes for readability
              
              
                jimblandy 1ec734b
              
                Pull mesh shader output type validation out into its own function.
              
              
                jimblandy 9ef0ed5
              
                doc fixes
              
              
                jimblandy 1173b0f
              
                remove duplicated task payload validation
              
              
                jimblandy 258e7e6
              
                Quick little changes
              
              
                inner-daemons 8885c5d
              
                Another quick fix
              
              
                inner-daemons 1cc3e85
              
                Quick fix
              
              
                inner-daemons 3be2c25
              
                Removed unnecessary TODO statement
              
              
                inner-daemons 21d3cc7
              
                A
              
              
                inner-daemons d5c11d3
              
                Tried to be more expressive
              
              
                inner-daemons 82ec9c2
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons e7faff6
              
                Made functions only work in mesh shader entry points
              
              
                inner-daemons 385535a
              
                Various validation fix attempts
              
              
                inner-daemons c3f9acd
              
                Undid capabilities resize
              
              
                inner-daemons d9c3b53
              
                Erich recommendations from #8370
              
              
                inner-daemons 5c72624
              
                Updated docs & validation for some builtins
              
              
                inner-daemons 10510fb
              
                Added some docs & removed contentious "// TODO"
              
              
                inner-daemons 9311af4
              
                Spec docs changes
              
              
                inner-daemons ebe1760
              
                doc fixes
              
              
                jimblandy d667e88
              
                validate that mesh shader entry ponits do have mesh info
              
              
                jimblandy 99f88c9
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 5925917
              
                check for task_payload globals without Capabilities::MESH_SHADER
              
              
                jimblandy d644360
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 7e973f4
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 91b0fdb
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons dc16a2b
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons 4222d5c
              
                Merge branch 'trunk' into mesh-shading/naga-ir
              
              
                inner-daemons File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
          Some comments aren't visible on the classic Files Changed page.
        
There are no files selected for viewing
Large diffs are not rendered by default.
      
      Oops, something went wrong.
      
    
  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.