You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a new Image operand bit mask for non constant offsets
For details refer to https://gitlab.khronos.org/spirv/SPIR-V/-/issues/639
As part of the commit following changes have been introduced:
1. Added a separate section in spirv xml to reserve vendor specific bit masks.
2. Added a new image operand bit mask to support non constant offsets in textureGatherOffsets as defined in GL_NV_gpu_shader5
Copy file name to clipboardExpand all lines: include/spirv/spir-v.xml
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -251,4 +251,24 @@
251
251
<idstype="MemoryOperand"start="18"end="30"comment="Unreserved bits reservable for use by vendors"/>
252
252
<idstype="MemoryOperand"start="31"end="31"vendor="Khronos"comment="Reserved MemoryOperand bit, not available to vendors"/>
253
253
254
+
<!-- SECTION: SPIR-V Image Operand Bit Reservations -->
255
+
<!-- Reserve ranges of bits in the image operands bitfield.
256
+
257
+
Each vendor determines the use of values in their own ranges.
258
+
Vendors are not required to disclose those uses. If the use of a
259
+
value is included in an extension that is adopted by a Khronos
260
+
extension or specification, then that value's use may be permanently
261
+
fixed as if originally reserved in a Khronos range.
262
+
263
+
The SPIR Working Group strongly recommends:
264
+
- Each value is used for only one purpose.
265
+
- All values in a range should be used before allocating a new range.
266
+
-->
267
+
268
+
<!-- Reserved image operand bits -->
269
+
<idstype="ImageOperand"start="0"end="15"vendor="Khronos"comment="Reserved ImageOperand bits, not available to vendors - see the SPIR-V Specification"/>
0 commit comments