diff options
author | Graham Linden <graham@lindenlab.com> | 2013-09-06 06:43:52 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-09-06 06:43:52 -0700 |
commit | b76c51b94258394684348b1172dbea2204b2b873 (patch) | |
tree | 28b20001e8270f90ce0b3c3966ec278a990222d5 /scripts/gpu_table_tester | |
parent | 237fbea41d248663b11fbb1716eae97bb307f7cb (diff) | |
parent | 980802e46859dc31f14d20e558a4e955e6976f48 (diff) |
Merge viewer-storm-1552 changes for gpu/feature table stomp from wi-fi
Diffstat (limited to 'scripts/gpu_table_tester')
-rwxr-xr-x | scripts/gpu_table_tester | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/gpu_table_tester b/scripts/gpu_table_tester index 4ce08e3005..873a8b36d2 100755 --- a/scripts/gpu_table_tester +++ b/scripts/gpu_table_tester @@ -73,6 +73,10 @@ die "Must specify a --gpu-table <gpu_table.txt> value" open(GPUS, "<$GpuTable") || die "Failed to open gpu table '$GpuTable':\n\t$!\n"; +my $FirstLine = <GPUS>; +die "First line of gpu table does not begin with '//GPU_TABLE'" + unless $FirstLine =~ m|^//GPU_TABLE|; + # Parse the GPU table into these tables, indexed by the name my %NameLine; # name -> line number on which a given name was found (catches duplicate names) my %RecognizerLine; # name -> line number on which a given name was found (catches duplicate names) @@ -207,7 +211,7 @@ format DIFF_TOP = ------------- OLD ------------- ----------- NEW -------------------- GPU String Supported? Class Stats OpenGL Supported? Class Stats OpenGL Line ------------------------------------------------------------------------------------------------------ ----------- ----- ----- ------ ----------- ----- ----- ------ ----- -. +. format DIFF = @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<< @> @> @<<<< @<<<<<<<<<< @> @> @<<<< @>>>> $_, $oldSupported, $oldClass, $oldStatsBased, $oldExpectedOpenGL, $newSupported, $newClass, $newStatsBased, $newExpectedOpenGL, $newRecognizedLine |