Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,883
    • Issues 2,883
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 923
    • Merge requests 923
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !911

Merged
Created May 18, 2019 by Caio Oliveira@cmarceloDeveloper

nir, spirv: Implement NoSignedWrap and NoUnsignedWrap decorations

  • Overview 28
  • Commits 3
  • Pipelines 13
  • Changes 8

Add support to annotate that certain ALU instructions will not overflow/underflow. These decorations are from http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_no_integer_wrap_decoration.html, and were now incorporated to SPIR-V 1.4.

First patch adds no_signed_wrap and no_unsigned_wrap flags to nir_alu_instr, second patch reads the SPIR-V decorations to fill the new flags.

Third patch is optional, shows one potential use of the flag.

Edited Jun 21, 2019 by Caio Oliveira
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: r/spirv-wrap