Skip to content

Commit

Permalink
Small tweaks to Feature Table (#11)
Browse files Browse the repository at this point in the history
* Updated display of some features in the table

* Made list of adapters of the arch more usable in the feature table

* re-run webpack for deployment

* review fixes
  • Loading branch information
Devaniti authored Dec 7, 2024
1 parent 362ed69 commit d942e89
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion source/frontend/assets/css/feature_table.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ thead>tr:nth-of-type(2)>th {
.tooltiptext {
visibility: hidden;
background-color: #FFFFFF;
text-align: center;
text-align: left;
border-radius: 0.4em;
border-color: #7f7f7f;
border-style: solid;
Expand Down
15 changes: 9 additions & 6 deletions source/frontend/assets/js/website_feature_table.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ const TableEnumMappings =
},
"D3D12_FEATURE_DATA_SERIALIZATION.HeapSerializationTier":
{
"0": "Tier 0",
"10": "Tier 1.0"
"0": "",
"10": ""
},
"D3D12_FEATURE_DATA_CROSS_NODE.SharingTier":
{
Expand Down Expand Up @@ -352,7 +352,7 @@ const TableEnumMappings =
"D3D12_FEATURE_DATA_D3D12_OPTIONS7.MeshShaderTier":
{
"0": "❌",
"10": "Tier 1"
"10": ""
},
"D3D12_FEATURE_DATA_D3D12_OPTIONS7.SamplerFeedbackTier":
{
Expand All @@ -363,7 +363,7 @@ const TableEnumMappings =
"D3D12_FEATURE_DATA_D3D12_OPTIONS9.WaveMMATier":
{
"0": "❌",
"10": "Tier 1.0"
"10": ""
},
"D3D12_FEATURE_DATA_D3D12_OPTIONS12.MSPrimitivesPipelineStatisticIncludesCulledPrimitives":
{
Expand All @@ -374,7 +374,7 @@ const TableEnumMappings =
"D3D12_FEATURE_DATA_D3D12_OPTIONS20.RecreateAtTier":
{
"0": "❌",
"1": "Tier 1"
"1": ""
},
"D3D12_FEATURE_DATA_D3D12_OPTIONS21.WorkGraphsTier":
{
Expand Down Expand Up @@ -879,7 +879,10 @@ function UpdateTable() {
headerRowArch.appendChild(thArch);

let tooltipText = "";
for (let adapterName of AdapterNamesPerArch.get(a)) {

let sortedAdapterNames = Array.from(AdapterNamesPerArch.get(a)).sort();

for (let adapterName of sortedAdapterNames) {
tooltipText += adapterName + "\n";
}

Expand Down
Loading

0 comments on commit d942e89

Please sign in to comment.