Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
0665d3f2
Commit
0665d3f2
authored
13 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
lowercase gpu string and recognizers in gpu_table_tester to match the behavior of the real code
parent
5b42f6f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/tests/gpus_results.txt
+7
-7
7 additions, 7 deletions
indra/newview/tests/gpus_results.txt
scripts/gpu_table_tester
+4
-5
4 additions, 5 deletions
scripts/gpu_table_tester
with
11 additions
and
12 deletions
indra/newview/tests/gpus_results.txt
+
7
−
7
View file @
0665d3f2
...
...
@@ -26,7 +26,7 @@ ATI All-in-Wonder X1900
ATI All-in-Wonder X600 supported 1 ATI All-in-Wonder X600
ATI All-in-Wonder X800 supported 2 ATI All-in-Wonder X800
ATI Diamond X1xxx supported 0 ATI Radeon X1xxx
ATI Display Adapter
UNRECOGNIZED
ATI Display Adapter
supported
0
ATI Display Adapter
ATI FireGL supported 0 ATI FireGL
ATI FireGL 5200 supported 0 ATI FireGL
ATI FireGL 5xxx supported 0 ATI FireGL
...
...
@@ -502,9 +502,9 @@ ATI Technologies Inc. HIGHTECH EXCALIBUR RADEON 9550SE Series
ATI Technologies Inc. HIGHTECH EXCALIBUR X700 PRO supported 0 ATI Technologies
ATI Technologies Inc. M21 x86/MMX/3DNow!/SSE2 supported 0 ATI Technologies
ATI Technologies Inc. M76M supported 3 ATI M76
ATI Technologies Inc. MOBILITY RADEON 7500 DDR x86/SSE2 supported 0 ATI Mobility Radeon
ATI Technologies Inc. MOBILITY RADEON 9000 DDR x86/SSE2 supported 0 ATI Mobility Radeon
ATI Technologies Inc. MOBILITY RADEON 9000 IGPRADEON 9100 IGP DDR x86/SSE2 supported 0 ATI Mobility Radeon
ATI Technologies Inc. MOBILITY RADEON 7500 DDR x86/SSE2 supported 0 ATI Mobility Radeon
7xxx
ATI Technologies Inc. MOBILITY RADEON 9000 DDR x86/SSE2 supported 0 ATI Mobility Radeon
Xxxx
ATI Technologies Inc. MOBILITY RADEON 9000 IGPRADEON 9100 IGP DDR x86/SSE2 supported 0 ATI Mobility Radeon
Xxxx
ATI Technologies Inc. MOBILITY RADEON 9600 x86/SSE2 supported 0 ATI Mobility Radeon 9600
ATI Technologies Inc. MOBILITY RADEON 9700 x86/SSE2 supported 1 ATI Mobility Radeon 9700
ATI Technologies Inc. MOBILITY RADEON X300 x86/SSE2 supported 1 ATI Mobility Radeon X3xx
...
...
@@ -1453,9 +1453,9 @@ NVIDIA RIVA TNT
NVIDIA RIVA TNT2/AGP/SSE2 unsupported 0 NVIDIA RIVA TNT
NVIDIA RIVA TNT2/PCI/3DNOW! unsupported 0 NVIDIA RIVA TNT
NVIDIA nForce unsupported 0 NVIDIA nForce
NVIDIA unknown board/AGP/SSE2
UNRECOGNIZED
NVIDIA unknown board/PCI/SSE2
UNRECOGNIZED
NVIDIA unknown board/PCI/SSE2/3DNOW!
UNRECOGNIZED
NVIDIA unknown board/AGP/SSE2
unsupported
0
NVIDIA Generic
NVIDIA unknown board/PCI/SSE2
unsupported
0
NVIDIA Generic
NVIDIA unknown board/PCI/SSE2/3DNOW!
unsupported
0
NVIDIA Generic
Parallels and ATI Technologies Inc. Parallels using ATI Radeon HD 5670 OpenGL Engine supported 3 ATI Radeon HD 5600
Parallels and ATI Technologies Inc. Parallels using ATI Radeon HD 5750 OpenGL Engine supported 3 ATI Radeon HD 5700
Parallels and ATI Technologies Inc. Parallels using ATI Radeon HD 5770 OpenGL Engine supported 3 ATI Radeon HD 5700
...
...
This diff is collapsed.
Click to expand it.
scripts/gpu_table_tester
+
4
−
5
View file @
0665d3f2
...
...
@@ -126,8 +126,7 @@ while (<GPUS>)
if
(
$errsOnLine
==
$ErrorsSeen
)
# no errors found on this line
{
$lcregex
=
$regex
;
# the real gpu table parser lowercases each recognizer
push
@InOrder
,
$lcregex
;
push
@InOrder
,
$regex
;
$NameLine
{
$name
}
=
$INPUT_LINE_NUMBER
;
$RecognizerLine
{
$regex
}
=
$INPUT_LINE_NUMBER
;
$Name
{
$regex
}
=
$name
;
...
...
@@ -148,13 +147,13 @@ my %RecognizedBy;
while
(
<>
)
# Loop over input lines
{
chomp
;
my
$lowerInput
=
$_
;
lc
lowerInput
;
# the real gpu table parser lowercases the input string
my
$lcInput
=
lc
$_
;
# the real gpu table parser lowercases the input string
my
$recognizer
;
$RecognizedBy
{
$_
}
=
'
UNRECOGNIZED
';
foreach
$recognizer
(
@InOrder
)
# note early exit if recognized
{
if
(
m/$recognizer/
)
my
$lcRecognizer
=
lc
$recognizer
;
# the real gpu table parser lowercases the recognizer
if
(
$lcInput
=~
m/$lcRecognizer/
)
{
$RecognizedBy
{
$_
}
=
$recognizer
;
last
;
# exit recognizer loop
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment