Skip to content

Commit 281da79

Browse files
committed
Add column for whether format is blendable
Previously this was just "filterable && renderable" but that's kind of buried and prone to getting updated incorrectly. Confirmed in #3566 that rg11b10ufloat is always blendable when it's renderable. This change is in service of #3828 which will add cases for which "filterable && renderable" isn't true.
1 parent 9316f6b commit 281da79

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

spec/index.bs

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14682,8 +14682,6 @@ This feature adds no [=optional API surfaces=].
1468214682

1468314683
All plain color formats support {{GPUTextureUsage/COPY_SRC}}, {{GPUTextureUsage/COPY_DST}}, and {{GPUTextureUsage/TEXTURE_BINDING}} usage.
1468414684

14685-
Only formats with {{GPUTextureSampleType}} {{GPUTextureSampleType/"float"}} can be blended.
14686-
1468714685
The {{GPUTextureUsage/RENDER_ATTACHMENT}} and {{GPUTextureUsage/STORAGE_BINDING}} columns
1468814686
specify support for {{GPUTextureUsage/RENDER_ATTACHMENT|GPUTextureUsage.RENDER_ATTACHMENT}}
1468914687
and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage respectively.
@@ -14694,6 +14692,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1469414692
<th>Format
1469514693
<th>{{GPUTextureSampleType}}
1469614694
<th><span class=vertical>{{GPUTextureUsage/RENDER_ATTACHMENT}}</span>
14695+
<th><span class=vertical>blending</span>
1469714696
<th><span class=vertical>multisampling</span>
1469814697
<th><span class=vertical>resolve</span>
1469914698
<th><span class=vertical>{{GPUTextureUsage/STORAGE_BINDING}}</span>
@@ -14708,6 +14707,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1470814707
<td>&checkmark;
1470914708
<td>&checkmark;
1471014709
<td>&checkmark;
14710+
<td>&checkmark;
1471114711
<td>
1471214712
<td>1
1471314713
<td>1
@@ -14716,6 +14716,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1471614716
<td>{{GPUTextureFormat/r8snorm}}
1471714717
<td>{{GPUTextureSampleType/"float"}},<br/>{{GPUTextureSampleType/"unfilterable-float"}}
1471814718
<td><!-- Vulkan -->
14719+
<td>
1471914720
<td><!-- no multisampling without RENDER_ATTACHMENT (gpuweb/gpuweb#2465) -->
1472014721
<td>
1472114722
<td><!-- Vulkan -->
@@ -14726,6 +14727,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1472614727
<td>{{GPUTextureFormat/r8uint}}
1472714728
<td>{{GPUTextureSampleType/"uint"}}
1472814729
<td>&checkmark;
14730+
<td>
1472914731
<td>&checkmark;
1473014732
<td><!-- Metal -->
1473114733
<td>
@@ -14736,6 +14738,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1473614738
<td>{{GPUTextureFormat/r8sint}}
1473714739
<td>{{GPUTextureSampleType/"sint"}}
1473814740
<td>&checkmark;
14741+
<td>
1473914742
<td>&checkmark;
1474014743
<td><!-- Metal -->
1474114744
<td>
@@ -14748,6 +14751,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1474814751
<td>&checkmark;
1474914752
<td>&checkmark;
1475014753
<td>&checkmark;
14754+
<td>&checkmark;
1475114755
<td><!-- Vulkan -->
1475214756
<td>2
1475314757
<td>2
@@ -14756,6 +14760,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1475614760
<td>{{GPUTextureFormat/rg8snorm}}
1475714761
<td>{{GPUTextureSampleType/"float"}},<br/>{{GPUTextureSampleType/"unfilterable-float"}}
1475814762
<td><!-- Vulkan -->
14763+
<td>
1475914764
<td><!-- no multisampling without RENDER_ATTACHMENT (gpuweb/gpuweb#2465) -->
1476014765
<td>
1476114766
<td><!-- Vulkan -->
@@ -14766,6 +14771,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1476614771
<td>{{GPUTextureFormat/rg8uint}}
1476714772
<td>{{GPUTextureSampleType/"uint"}}
1476814773
<td>&checkmark;
14774+
<td>
1476914775
<td>&checkmark;
1477014776
<td><!-- Metal -->
1477114777
<td>
@@ -14776,6 +14782,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1477614782
<td>{{GPUTextureFormat/rg8sint}}
1477714783
<td>{{GPUTextureSampleType/"sint"}}
1477814784
<td>&checkmark;
14785+
<td>
1477914786
<td>&checkmark;
1478014787
<td><!-- Metal -->
1478114788
<td>
@@ -14789,6 +14796,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1478914796
<td>&checkmark;
1479014797
<td>&checkmark;
1479114798
<td>&checkmark;
14799+
<td>&checkmark;
1479214800
<td>4
1479314801
<td>8
1479414802
<td>1
@@ -14798,6 +14806,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1479814806
<td>&checkmark;
1479914807
<td>&checkmark;
1480014808
<td>&checkmark;
14809+
<td>&checkmark;
1480114810
<td>
1480214811
<td>4
1480314812
<td>8
@@ -14806,6 +14815,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1480614815
<td>{{GPUTextureFormat/rgba8snorm}}
1480714816
<td>{{GPUTextureSampleType/"float"}},<br/>{{GPUTextureSampleType/"unfilterable-float"}}
1480814817
<td><!-- Vulkan -->
14818+
<td>
1480914819
<td><!-- no multisampling without RENDER_ATTACHMENT (gpuweb/gpuweb#2465) -->
1481014820
<td>
1481114821
<td>&checkmark;
@@ -14816,6 +14826,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1481614826
<td>{{GPUTextureFormat/rgba8uint}}
1481714827
<td>{{GPUTextureSampleType/"uint"}}
1481814828
<td>&checkmark;
14829+
<td>
1481914830
<td>&checkmark;
1482014831
<td><!-- Metal -->
1482114832
<td>&checkmark;
@@ -14826,6 +14837,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1482614837
<td>{{GPUTextureFormat/rgba8sint}}
1482714838
<td>{{GPUTextureSampleType/"sint"}}
1482814839
<td>&checkmark;
14840+
<td>
1482914841
<td>&checkmark;
1483014842
<td><!-- Metal -->
1483114843
<td>&checkmark;
@@ -14838,6 +14850,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1483814850
<td>&checkmark;
1483914851
<td>&checkmark;
1484014852
<td>&checkmark;
14853+
<td>&checkmark;
1484114854
<td>If {{GPUFeatureName/"bgra8unorm-storage"}} is enabled
1484214855
<td>4
1484314856
<td>8
@@ -14848,6 +14861,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1484814861
<td>&checkmark;
1484914862
<td>&checkmark;
1485014863
<td>&checkmark;
14864+
<td>&checkmark;
1485114865
<td>
1485214866
<td>4
1485314867
<td>8
@@ -14857,6 +14871,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1485714871
<td>{{GPUTextureFormat/r16uint}}
1485814872
<td>{{GPUTextureSampleType/"uint"}}
1485914873
<td>&checkmark;
14874+
<td>
1486014875
<td>&checkmark;
1486114876
<td><!-- Metal -->
1486214877
<td>
@@ -14867,6 +14882,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1486714882
<td>{{GPUTextureFormat/r16sint}}
1486814883
<td>{{GPUTextureSampleType/"sint"}}
1486914884
<td>&checkmark;
14885+
<td>
1487014886
<td>&checkmark;
1487114887
<td><!-- Metal -->
1487214888
<td>
@@ -14879,6 +14895,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1487914895
<td>&checkmark;
1488014896
<td>&checkmark;
1488114897
<td>&checkmark;
14898+
<td>&checkmark;
1488214899
<td>
1488314900
<td>2
1488414901
<td>2
@@ -14887,6 +14904,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1488714904
<td>{{GPUTextureFormat/rg16uint}}
1488814905
<td>{{GPUTextureSampleType/"uint"}}
1488914906
<td>&checkmark;
14907+
<td>
1489014908
<td>&checkmark;
1489114909
<td><!-- Metal -->
1489214910
<td>
@@ -14897,6 +14915,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1489714915
<td>{{GPUTextureFormat/rg16sint}}
1489814916
<td>{{GPUTextureSampleType/"sint"}}
1489914917
<td>&checkmark;
14918+
<td>
1490014919
<td>&checkmark;
1490114920
<td><!-- Metal -->
1490214921
<td>
@@ -14909,6 +14928,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1490914928
<td>&checkmark;
1491014929
<td>&checkmark;
1491114930
<td>&checkmark;
14931+
<td>&checkmark;
1491214932
<td><!-- Vulkan -->
1491314933
<td>4
1491414934
<td>4
@@ -14917,6 +14937,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1491714937
<td>{{GPUTextureFormat/rgba16uint}}
1491814938
<td>{{GPUTextureSampleType/"uint"}}
1491914939
<td>&checkmark;
14940+
<td>
1492014941
<td>&checkmark;
1492114942
<td><!-- Metal -->
1492214943
<td>&checkmark;
@@ -14927,6 +14948,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1492714948
<td>{{GPUTextureFormat/rgba16sint}}
1492814949
<td>{{GPUTextureSampleType/"sint"}}
1492914950
<td>&checkmark;
14951+
<td>
1493014952
<td>&checkmark;
1493114953
<td><!-- Metal -->
1493214954
<td>&checkmark;
@@ -14940,6 +14962,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1494014962
<td>&checkmark;
1494114963
<td>&checkmark;
1494214964
<td>&checkmark;
14965+
<td>&checkmark;
1494314966
<td>8
1494414967
<td>8
1494514968
<td>2
@@ -14948,6 +14971,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1494814971
<td>{{GPUTextureFormat/r32uint}}
1494914972
<td>{{GPUTextureSampleType/"uint"}}
1495014973
<td>&checkmark;
14974+
<td>
1495114975
<td><!-- Metal -->
1495214976
<td>
1495314977
<td>&checkmark;
@@ -14958,6 +14982,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1495814982
<td>{{GPUTextureFormat/r32sint}}
1495914983
<td>{{GPUTextureSampleType/"sint"}}
1496014984
<td>&checkmark;
14985+
<td>
1496114986
<td><!-- Metal -->
1496214987
<td>
1496314988
<td>&checkmark;
@@ -14968,6 +14993,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1496814993
<td>{{GPUTextureFormat/r32float}}
1496914994
<td>{{GPUTextureSampleType/"unfilterable-float"}}
1497014995
<td>&checkmark;
14996+
<td>
1497114997
<td>&checkmark;
1497214998
<td><!-- Metal -->
1497314999
<td>&checkmark;
@@ -14978,6 +15004,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1497815004
<td>{{GPUTextureFormat/rg32uint}}
1497915005
<td>{{GPUTextureSampleType/"uint"}}
1498015006
<td>&checkmark;
15007+
<td>
1498115008
<td><!-- Metal -->
1498215009
<td>
1498315010
<td>&checkmark;
@@ -14988,6 +15015,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1498815015
<td>{{GPUTextureFormat/rg32sint}}
1498915016
<td>{{GPUTextureSampleType/"sint"}}
1499015017
<td>&checkmark;
15018+
<td>
1499115019
<td><!-- Metal -->
1499215020
<td>
1499315021
<td>&checkmark;
@@ -14998,6 +15026,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1499815026
<td>{{GPUTextureFormat/rg32float}}
1499915027
<td>{{GPUTextureSampleType/"unfilterable-float"}}
1500015028
<td>&checkmark;
15029+
<td>
1500115030
<td><!-- Metal -->
1500215031
<td>
1500315032
<td>&checkmark;
@@ -15008,6 +15037,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1500815037
<td>{{GPUTextureFormat/rgba32uint}}
1500915038
<td>{{GPUTextureSampleType/"uint"}}
1501015039
<td>&checkmark;
15040+
<td>
1501115041
<td><!-- Metal -->
1501215042
<td>
1501315043
<td>&checkmark;
@@ -15018,6 +15048,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1501815048
<td>{{GPUTextureFormat/rgba32sint}}
1501915049
<td>{{GPUTextureSampleType/"sint"}}
1502015050
<td>&checkmark;
15051+
<td>
1502115052
<td><!-- Metal -->
1502215053
<td>
1502315054
<td>&checkmark;
@@ -15028,6 +15059,7 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1502815059
<td>{{GPUTextureFormat/rgba32float}}
1502915060
<td>{{GPUTextureSampleType/"unfilterable-float"}}
1503015061
<td>&checkmark;
15062+
<td>
1503115063
<td><!-- Metal -->
1503215064
<td>
1503315065
<td>&checkmark;
@@ -15041,14 +15073,15 @@ and {{GPUTextureUsage/STORAGE_BINDING|GPUTextureUsage.STORAGE_BINDING}} usage re
1504115073
<td>&checkmark;
1504215074
<td>&checkmark;
1504315075
<td>&checkmark;
15076+
<td>&checkmark;
1504415077
<td>
1504515078
<td>4
1504615079
<td>8
1504715080
<td>4
1504815081
<tr>
1504915082
<td>{{GPUTextureFormat/rg11b10ufloat}}
1505015083
<td>{{GPUTextureSampleType/"float"}},<br/>{{GPUTextureSampleType/"unfilterable-float"}}
15051-
<td colspan=2>If {{GPUFeatureName/"rg11b10ufloat-renderable"}} is enabled
15084+
<td colspan=3>If {{GPUFeatureName/"rg11b10ufloat-renderable"}} is enabled
1505215085
<td>
1505315086
<td><!-- Vulkan -->
1505415087
<td>4

0 commit comments

Comments
 (0)