This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use diagnostics; | |
use Getopt::Long; | |
use File::Copy 'move'; | |
my $file_sel_tests = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use diagnostics; | |
use Getopt::Long; | |
use Cwd qw(cwd); | |
my $test = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PS1="[isolated] $PS1" | |
export VK_ICD_FILENAMES=$HOME/igalia/install/share/vulkan/icd.d/intel_icd.x86_64.json | |
#export VK_ICD_FILENAMES=$HOME/igalia/install/share/vulkan/icd.d/radeon_icd.x86_64.json | |
export PATH=$PATH:$HOME/igalia/install/bin | |
export LD_LIBRARY_PATH=$HOME/igalia/install/lib | |
export LD_RUN_PATH=$HOME/igalia/install/lib | |
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/igalia/install/share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct { | |
float z; | |
uint32_t zs; | |
} *pixels; | |
int i; | |
pixels = calloc(w * h, 8); | |
glGetTextureImage(vkgl_depth_tex, 0, | |
GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, | |
w * h * 8, | |
pixels); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 430 | |
#extension GL_ARB_separate_shader_objects : enable | |
const vec2 vdata[] = vec2[] ( | |
vec2(1.0, 1.0), | |
vec2(1.0, 0.0), | |
vec2(0.0, 1.0), | |
vec2(0.0, 0.0)); | |
void main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
unsigned char pix[160 * 160 * 4]; | |
FILE *fp; | |
int i; | |
glBindTexture(GL_TEXTURE_2D, gl_tex); | |
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, pix); | |
if ((fp = fopen("/tmp/foo.ppm", "wb"))) { | |
//fprintf(fp, "P6\n160 160\n255\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PS1="[isolated] $PS1" | |
export PATH=$PATH:/home/eleni/igalia/install/bin | |
export LD_LIBRARY_PATH=/home/eleni/igalia/install/lib:/home/eleni/igalia/install/lib/x86_64-linux-gnu | |
export LD_RUN_PATH=/home/eleni/igalia/install/lib:/home/eleni/igalia/install/lib/x86_64-linux-gnu | |
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/home/eleni/igalia/install/share | |
export LIBGL_DRIVERS_PATH=/home/eleni/igalia/install/lib/x86_64-linux-gnu/dri/ | |
export MESA_DEBUG=1 | |
#intel specific |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PS1="[isolated] $PS1" | |
export VK_ICD_FILENAMES=$HOME/igalia/install/share/vulkan/icd.d/intel_icd.x86_64.json | |
#export VK_ICD_FILENAMES=$HOME/igalia/install/share/vulkan/icd.d/radeon_icd.x86_64.json | |
export PATH=$PATH:$HOME/igalia/install/bin | |
export LD_LIBRARY_PATH=$HOME/igalia/install/lib | |
export LD_RUN_PATH=$HOME/igalia/install/lib | |
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/igalia/install/share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bits 16 | |
; DOS loads COM programs at offset 100h (256) of the program segment | |
; therefore we need to let the assembler know, that everything should | |
; start from address 100h | |
org 100h | |
; video bios (10h) call 00h: set video mode | |
; ah: 00h, al: video mode number | |
mov ax, 13h ; mode 13h (320x200 8bpp) | |
int 10h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; vi:filetype=nasm: | |
bits 16 | |
; DOS loads COM programs at offset 100h (256) of the program segment | |
; therefore we need to let the assembler know, that everything should | |
; start from address 100h | |
org 100h | |
; video bios (10h) call 00h: set video mode | |
; ah: 00h, al: video mode number | |
mov ax, 13h ; mode 13h (320x200 8bpp) |