<<  GPU PerfSTudio 2 | Data mine your app using GPU PerfStudio2 GPU PerfSTudio 2 | Left for Dead 2 – Porting Steam to Linux  >>
GPU PerfSTudio 2 | Data mine your app using GPU PerfStudio2

GPU PerfSTudio 2 | Data mine your app using GPU PerfStudio2. After a script has run on FarCry3. The render target overlay shows its contents at draw call 10 – the breakpoint the script finished at. The server log shows the breakpoint and code viewer commands. The script finds 2 unique shaders in the first 10 draw calls. # Create a user agent object use LWP::UserAgent; $ua = new LWP::UserAgent; $ua->agent("AgentName/0.1 " . $ua->agent); my $HTML_Request = "text/html"; my $XML_Request = "text/xml"; my $Google_URL = "http://www.google.com"; my $GPS_APP_SERVER = "10176"; my $GPS_BreakpointID = "104"; my $GPS_CodeViewer_URL = "http://localhost/$GPS_APP_SERVER/DX11/FD/Pipeline/PS/codeviewer.xml"; my $GPS_Breakpoint_URL = "http://localhost/$GPS_APP_SERVER/DX11/FD/BreakPoint=$GPS_BreakpointID"; my $GPS_NumBreakpoints = 100; sub http_Request { my($Request_URL, $Request_Type) = @_; # Create a request my $req = new HTTP::Request GET => $Request_URL; $req->content_type( $Request_Type ); #$req->content(''); # Pass request to the user agent and get a response back my $res = $ua->request($req); # Check the outcome of the response if ($res->is_success) { #print $res->content; #print "$Request_URL @ $Request_Type = Success!\n"; return $res->content; } else { print "Bad luck this time\n"; exit; } } sub iterate_breakpoint { my($i) = @_; my $content = http_Request("http://localhost/$GPS_APP_SERVER/DX11/FD/BreakPoint=$i", $XML_Request); if( $content =~ m/BreakPoint\W{2}OK/i ) { #print "Breakpoint OK\n"; return 1; } else { print "Breakpoint Failed\n"; return 0; } } my %HashOfPixelShaderCRCs; sub get_pixel_shader_code { return http_Request($GPS_CodeViewer_URL, $XML_Request); } for( my $i = 1; $i < $GPS_NumBreakpoints; $i++ ) { my $retVal = iterate_breakpoint($i); if( $retVal == 1 ) { #print "Breakpoint is OK\n"; my $psCode = get_pixel_shader_code(); if( $psCode =~ m/(\W{1}Hash\W{1}(\w+)\W{2}Hash\W{1})/i ) { my $thisHashID = $2; print "HashID: $thisHashID\n"; $HashOfPixelShaderCRCs{$thisHashID} = $psCode; } else { #print "Hash Not Found\n"; } } else { #print "Breakpoint FAILED!\n"; } } print "\nFound source code for ", scalar keys %HashOfPixelShaderCRCs, " *unique* pixel shaders used in this frame.\n"; print "\nDone!\n";

Картинка 49 из презентации «Behind the Scenes: Optimizing FarCry 3, Left 4 Dead 2 and Assassins Creed 3 using AMDs GPU PerfStudio2»

Размеры: 677 х 342 пикселей, формат: png. Чтобы бесплатно скачать картинку для урока английского языка щёлкните по изображению правой кнопкой мышки и нажмите «Сохранить изображение как...». Для показа картинок на уроке Вы также можете бесплатно скачать презентацию «Behind the Scenes: Optimizing FarCry 3, Left 4 Dead 2 and Assassins Creed 3 using AMDs GPU PerfStudio2.ppsx» целиком со всеми картинками в zip-архиве. Размер архива - 16874 КБ.

Похожие презентации

краткое содержание других презентаций на тему картинки

«Data Mining» - Для кластеризации: дендрограммы, диаграммы рассеивания. Сложность разработки и эксплуатации приложения Data Mining. Докладчики. Data Mining не может заменить аналитика! Статистические методы. Литература по Data Mining. Задачи Data Mining. Основная идея - разделение выборки данных на v "складок".

«Kinds of sports» - Football (soccer). Rugby. It is a game played between two teams of eleven players. Спорт в Великобритании. Basketball. Riddles. English proverbs about sports and health. Table tennis, also known as ping-pong. Please, read. Auding. Gymnastics. Football. Tennis. Hockey. Polo. Billiards. Darts. The rocat is suitable for all kinds of recreational rowing.

«Ravers» - Extremely popular piercing and tattoos. Hair, face. Thank you for attention. bag. Dj Smash feat. gloves. Subculture of the ravers characterized by general synthetic, man-made. Slogans. Image. In my opinion subculture the ravers not as bad as it seems. Values. It went its name. Dhany – Hit my heart. Beattraax – Beach Party 2009.

«Invention» - He is considered by many Italians as the inventor of the telephone. 1930 Charles Jenkins broadcasts the first TV commercial. The countertop microwave oven was first introduced in 1967 by the Amana Corporation, which was acquired in 1965 by Raytheon. The BBC begins regular TV transmissions. Named the "Radarange", it was first sold in 1947.

«Food» - Transmission. Surveillance/Regulation. Epidemiology. Reported Cases. Emerging Pathogens. Salmonellosis. Surveillance. Testing and removal for Salmonella Serologic, fecal culture, hide culture Vaccinating Many serotypes Varying effectiveness Minimize rodents, wild birds Isolation of new animals. USDA Recall Classification.

«Education» - Private schools (public schools). The System of Education in Britain. Новые слова. Compulsory education. Types of schools. Types of subjects. State schools.

Тексты на английском

46 презентаций о текстах на английском

Английский язык

29 тем