1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-18 10:52:14 +01:00
This commit is contained in:
yours3lf 2020-05-12 22:45:30 +01:00
parent 54bc44e309
commit 2b4d733183
6 changed files with 1479 additions and 99 deletions

View File

@ -9,3 +9,6 @@ file(GLOB asmSrc
add_library(QPUassembler OBJECT ${asmSrc})
target_compile_options(QPUassembler PRIVATE -Wall -Werror=implicit-function-declaration -std=c11)
add_executable(QPUassemblerExe ${asmSrc} main.c shaders.h)
target_compile_options(QPUassemblerExe PRIVATE -Wall -Werror=implicit-function-declaration -std=c11)

44
QPUassembler/diffa.txt Normal file
View File

@ -0,0 +1,44 @@
sig_load_imm ; vr_setup.nop = load32.always(0x601a00) ; nop = load32.always() ;
sig_none ; rx2.nop = or.ws.always.nop(a, a, vpm_read, nop) ; nop = nop.never(r0, r0) ;
sig_none ; rx3.nop = or.always.nop(a, a, vpm_read, nop) ; nop = nop.never(r0, r0) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb2) ; r2 = fmul.always(a, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra3, uni) ; r1 = fmul.always(b, a) ;
sig_none ; rx5.nop = fadd.always.nop(r2, r1, uni, rb2) ; r3 = fmul.always(a, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra3, uni) ; r2 = fmul.always(b, a) ;
sig_none ; rx3.nop = fadd.ws.always.nop(r3, r2, uni, rb2) ; r0 = fmul.always(a, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra3, uni) ; r3 = fmul.always(b, a) ;
sig_none ; rx4.nop = fadd.ws.always.nop(r0, r3, uni, rb2) ; r1 = fmul.always(a, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra3, uni) ; r0 = fmul.always(b, a) ;
sig_none ; rx4.nop = fadd.always.nop(r1, r0, vpm_read, nop) ; rx1 = v8min.always(a, a) ;
sig_load_imm ; vw_setup = load32.ws.always(0x1a00) ; nop = load32.always() ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb1) ; r0 = fmul.always(a, b) ;
sig_none ; r3.nop = fadd.always.nop(a, r0, ra5, nop) ; nop = nop.never(r0, r0) ;
sig_none ; r0.nop = fadd.ws.always.nop(r3, b, vpm_read, uni) ; rx1 = v8min.always(a, a) ;
sig_none ; sfu_recip.nop = or.ws.always.nop(r0, r0, uni, rb1) ; r3 = fmul.always(a, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb1) ; r2 = fmul.always(a, b) ;
sig_none ; r1.nop = fadd.always.nop(b, r3, nop, rb4) ; nop = nop.never(r0, r0) ;
sig_none ; rx2.nop = fadd.always.nop(b, r2, nop, rb3) ; r2 = fmul.always(r0, r4) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb1) ; r3 = fmul.always(a, b) ;
sig_none ; rx5.nop = fadd.ws.always.nop(a, r3, ra4, nop) ; nop = nop.never(r0, r0) ;
sig_small_imm ; r3.nop = fsub.always.nop(b, r2, nop, 0x40000000) ; nop = nop.never(r0, r0) ;
sig_none ; r0.nop = fadd.ws.always.nop(a, b, ra2, uni) ; rx6 = fmul.always(r4, r3) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, nop) ; r2 = fmul.always(r0, a) ;
sig_none ; r1.nop = fadd.always.nop(r1, b, ra6, uni) ; r3 = fmul.always(r2, a) ;
sig_none ; rx0.16a = ftoi.always.nop(r3, r3, uni, nop) ; r0 = fmul.always(r1, a) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra6, nop) ; r1 = fmul.always(r0, a) ;
sig_none ; rx0.16b = ftoi.always.nop(r1, r1, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; r1.nop = fadd.always.nop(b, a, uni, rb5) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = or.always.nop(a, a, ra0, uni) ; r0 = fmul.always(r1, b) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, ra6, nop) ; r1 = fmul.always(r0, a) ;
sig_none ; vpm.nop = fadd.always.nop(r1, b, vpm_read, uni) ; r0 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(a, a, ra6, nop) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = itof.always.8a(a, a, ra1, nop) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = itof.always.8b(a, a, ra1, nop) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = itof.always.8c(a, a, ra1, nop) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = itof.always.8d(a, a, ra1, nop) ; nop = nop.never(r0, r0) ;
sig_none ; vpm.nop = or.always.nop(r0, r0, vpm_read, nop) ; r1 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r1, r1, nop, nop) ; nop = nop.never(r0, r0) ;
sig_end ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;

44
QPUassembler/diffb.txt Normal file
View File

@ -0,0 +1,44 @@
singleTextureVS
sig_load_imm ; vr_setup.nop = load32.always(0x901a00) ; nop = load32.always() ;--------------------------------------
sig_none ; rx1.nop = or.ws.always.nop(a, a, vpm_read, nop) ; nop = nop.never(r0, r0) ; //read rb1 = vx
sig_none ; rx2.nop = or.always.nop(a, a, vpm_read, nop) ; nop = nop.never(r0, r0) ; //read ra2 = vy
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb1) ; r2 = fmul.always(a, b) ; //vx * m3x
sig_none ; nop.nop = nop.never.nop(r0, r0, ra2, uni) ; r1 = fmul.always(b, a) ; //vy * m3y
sig_none ; rx4.nop = fadd.always.nop(r2, r1, uni, rb1) ; r3 = fmul.always(a, b) ; //vx * m0x
sig_none ; nop.nop = nop.never.nop(r0, r0, ra2, uni) ; r2 = fmul.always(b, a) ; //vy * m0y
sig_none ; rx2.nop = fadd.ws.always.nop(r3, r2, uni, rb1) ; r0 = fmul.always(a, b) ; //vx * m1x
sig_none ; nop.nop = nop.never.nop(r0, r0, ra2, uni) ; r3 = fmul.always(b, a) ; //vy * m1y
sig_none ; rx3.nop = fadd.ws.always.nop(r0, r3, uni, rb1) ; r1 = fmul.always(a, b) ; //vx * m2x
sig_none ; nop.nop = nop.never.nop(r0, r0, ra2, uni) ; r0 = fmul.always(b, a) ; //vy * m2y
sig_none ; rx3.nop = fadd.always.nop(r1, r0, vpm_read, nop) ; rx0 = v8min.always(a, a) ; //read rb0 = vz
sig_load_imm ; vw_setup = load32.ws.always(0x1a00) ; nop = load32.always() ;
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb0) ; r0 = fmul.always(a, b) ; //vz * m3z
sig_none ; r3.nop = fadd.always.nop(a, r0, ra4, nop) ; nop = nop.never(r0, r0) ;
sig_none ; r0.nop = fadd.always.nop(r3, a, uni, nop) ; nop = nop.never(r0, r0) ; //+m3w
sig_none ; sfu_recip.nop = or.ws.always.nop(r0, r0, uni, rb0) ; r3 = fmul.always(a, b) ; //1 / Wc, vz * m1z
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb0) ; r2 = fmul.always(a, b) ; //vz * m0z
sig_none ; r1.nop = fadd.always.nop(b, r3, nop, rb3) ; nop = nop.never(r0, r0) ;
sig_none ; rx1.nop = fadd.always.nop(b, r2, nop, rb2) ; r2 = fmul.always(r0, r4) ; //
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, rb0) ; r3 = fmul.always(a, b) ; //vz * m2z
sig_none ; rx4.nop = fadd.ws.always.nop(a, r3, ra3, nop) ; nop = nop.never(r0, r0) ; //
sig_small_imm ; r3.nop = fsub.always.nop(b, r2, nop, 0x40000000) ; nop = nop.never(r0, r0) ; //
sig_none ; r0.nop = fadd.ws.always.nop(a, b, ra1, uni) ; rx5 = fmul.always(r4, r3) ; //+m0w, ra5 = 1/Wc
sig_none ; nop.nop = nop.never.nop(r0, r0, uni, nop) ; r2 = fmul.always(r0, a) ; //Xscale
sig_none ; r1.nop = fadd.always.nop(r1, b, ra5, uni) ; r3 = fmul.always(r2, a) ; //+m1w
sig_none ; rx0.16a = ftoi.always.nop(r3, r3, uni, nop) ; r0 = fmul.always(r1, a) ; //Yscale
sig_none ; nop.nop = nop.never.nop(r0, r0, ra5, nop) ; r1 = fmul.always(r0, a) ;
sig_none ; rx0.16b = ftoi.always.nop(r1, r1, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; r1.nop = fadd.always.nop(b, a, uni, rb4) ; nop = nop.never(r0, r0) ; //+m2w
sig_none ; vpm.nop = or.always.nop(a, a, ra0, uni) ; r0 = fmul.always(r1, b) ; //write Xs/Ys, Zscale
sig_none ; nop.nop = nop.never.nop(r0, r0, ra5, nop) ; r1 = fmul.always(r0, a) ;
sig_none ; vpm.nop = fadd.always.nop(r1, b, vpm_read, uni) ; r0 = v8min.always(a, a) ; //write Zs, Zoffset
sig_none ; vpm.nop = or.always.nop(a, a, ra5, nop) ; nop = nop.never(r0, r0) ; //write 1/Wc
sig_none ; vpm.nop = or.always.nop(r0, r0, vpm_read, nop) ; r1 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r1, r1, vpm_read, nop) ; r2 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r2, r2, vpm_read, nop) ; r3 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r3, r3, vpm_read, nop) ; r0 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r0, r0, vpm_read, nop) ; r1 = v8min.always(a, a) ;
sig_none ; vpm.nop = or.always.nop(r1, r1, nop, nop) ; nop = nop.never(r0, r0) ;
sig_end ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;
sig_none ; nop.nop = nop.never.nop(r0, r0, nop, nop) ; nop = nop.never(r0, r0) ;

View File

@ -3,109 +3,15 @@
#include <stdlib.h>
#include "qpu_assembler.h"
#include "shaders.h"
int main()
{
char asm_code[] =
"sig_none ; nop = nop(r0, r0) ; nop = nop(r0, r0) ;"
"sig_none ; nop = nop(r0, r0) ; nop = nop(r0, r0) ;"
"sig_small_imm ; tlb_color_all = or.always(b, b, nop, -1) ; nop = nop(r0, r0) ;"
"sig_end ; nop = nop(r0, r0) ; nop = nop(r0, r0) ;"
"sig_none ; nop = nop(r0, r0) ; nop = nop(r0, r0) ;"
"sig_unlock_score ; nop = nop(r0, r0) ; nop = nop(r0, r0) ;"
"\0";
#define shader singleTextureClippingPlane_AlphaGE80_BlendDisabled_DepthStencilEnabled_FS
printf("%s", asm_code);
unsigned num_instructions = 0;
char* ptr = asm_code;
while(ptr && *ptr != '\0')
for(uint32_t c = 0; c < sizeof(shader)/sizeof(uint64_t); ++c)
{
ptr = strstr(ptr, ";");
if(!ptr) break;
ptr = strstr(ptr+(ptr!=0), ";");
if(!ptr) break;
ptr = strstr(ptr+(ptr!=0), ";");
if(ptr)
{
ptr += 1;
num_instructions += 1;
}
}
//printf("Num instructions: %i\n", num_instructions);
if(!num_instructions)
{
return 0;
}
uint64_t instruction_size = sizeof(uint64_t)*num_instructions;
uint64_t* instructions = malloc(instruction_size);
assemble_qpu_asm(asm_code, instructions);
for(int c = 0; c < instruction_size; ++c)
{
unsigned char d = ((char*)instructions)[c];
//printf("%#x,\t", d);
if((c+1)%8==0)
{
//printf("\n");
}
}
printf("\n\n");
for(int c = 0; c < num_instructions; ++c)
{
disassemble_qpu_asm(instructions[c]);
}
const char fragBytes[] =
{
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x10,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x10,
0x80, 0x7d, 0x82, 0x15, 0xa7, 0xb, 0x2, 0x10,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x30,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x10,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x50
};
unsigned numFragInstructions = sizeof(fragBytes) / sizeof(uint64_t);
const char vertBytes[] =
{
0x80, 0x1f, 0x82, 0x2, 0x27, 0x10, 0x2, 0xd0,
00, 0x1a, 0x20, 00, 0x67, 0x4c, 0x2, 0xe0,
0x37, 00, 0xc2, 0x20, 0xe0, 0x49, 00, 0x10,
0x7, 00, 0x9c, 0x20, 0xe1, 0x49, 00, 0x10,
0x77, 0x2, 0xc2, 0x27, 0x22, 0x40, 0x12, 0x10,
0x17, 00, 0x9c, 0x20, 0xe3, 0x49, 00, 0x10,
0xc0, 0x76, 0x9e, 0x7, 0x27, 00, 0x22, 0x10,
00, 0x1a, 00, 00, 0x67, 0x5c, 0x2, 0xe0,
0x80, 0x7d, 0x2, 0x15, 0x27, 0xc, 0x2, 0x10,
0x80, 0x7d, 0x82, 0x15, 0x27, 0xc, 0x2, 0x10,
0xc0, 0xf, 0x9c, 0x15, 0x27, 0xc, 0x2, 0x10,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x30,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x10,
00, 0x70, 0x9e, 00, 0xe7, 0x9, 00, 0x10,
};
unsigned numVertInstructions = sizeof(vertBytes) / sizeof(uint64_t);
printf("\n\n");
for(int c = 0; c < numVertInstructions; ++c)
{
disassemble_qpu_asm(((uint64_t*)vertBytes)[c]);
}
printf("\n\n");
for(int c = 0; c < numFragInstructions; ++c)
{
disassemble_qpu_asm(((uint64_t*)fragBytes)[c]);
disassemble_qpu_asm(shader[c]);
}
return 0;

1383
QPUassembler/shaders.h Normal file
View File

@ -0,0 +1,1383 @@
#pragma once
#include <stdint.h>
uint64_t singleTextureVS[] =
{
0xe0024c6700601a00,
0x100210a715c27d80,
0x100200e715c27d80,
0x100049e220802037,
0x100049e1200e003e,
0x1002416321802477,
0x100049e2200e003e,
0x100250e0218026b7,
0x100049e3200e003e,
0x10025121218020f7,
0x100049e0200e003e,
0x1002410181c27236,
0xe0025c6700001a00,
0x100049e020801037,
0x100208e701167c00,
0x1002580181c207f6,
0x10025d2335801037,
0x100049e220801037,
0x10020867019c4ec0,
0x100240a2219c3e84,
0x100049e320801037,
0x1002116701127cc0,
0xd00208e7029e1e80,
0x10025806210a0de3,
0x100049e220827006,
0x10024863211a03d6,
0x10124020278276ce,
0x100049e1201a7006,
0x10220027079e7240,
0x1002086701805f80,
0x10024c2035020d8f,
0x100049e1201a7006,
0x10024c2081c203f6,
0x10020c27151a7d80,
0x18020c2708067d80,
0x1a020c2708067d80,
0x1c020c2708067d80,
0x1e020c2708067d80,
0x10024c2195c27036,
0x10020c27159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t singleTextureCS[] =
{
0xe0024c6700301a00,
0x100200a715c27d80,
0x100210a715c27d80,
0x100049e1200a003e,
0x100049e020802037,
0x10024122210a023e,
0x100049e320802037,
0x100049e120802037,
0x10025060210a047e,
0x100240e2218020f7,
0x100049e3200a003e,
0x1002406281c276b6,
0x100049e020827032,
0x1002502321120c3a,
0x10024821210e0cfa,
0x1002112701800f80,
0x100248e221801e72,
0xe0025c6700001a00,
0x1002487081044cbf,
0x1002082701827180,
0x100258b481827780,
0x1002417081827392,
0x100049e320827016,
0x10020c2715167d80,
0x10024c20359e7004,
0xd0020867029e1e00,
0x100049c3209e7021,
0x100049e12080403e,
0x100049e2209c300f,
0x10124020279c349f,
0x1022402227160037,
0x100049e3209c3017,
0x10020c2715027d80,
0x10020c2701827780,
0x10020c27159c3fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t singleTextureClippingPlaneVS[] =
{
0xe0024c6700601a00,
0x1002122715c27d80,
0x1002026715c27d80,
0x100049e02080803e,
0x100049e22080803e,
0x100049e120260037,
0x100242a321260077,
0x10025261212604fe,
0x100049e320808037,
0x100242222180867e,
0x100049e320260037,
0x100251e0218084f7,
0x100049e22026003e,
0x100251a1218080b7,
0x100049e32026003e,
0x10025160212602fe,
0x100049e220808037,
0x1002414281c27436,
0x100049e32080803e,
0x100049e220260037,
0x10025120218026be,
0x1002504181c09e36,
0x100049e320802037,
0x100049e02080203e,
0x100201a7019c5ec0,
0x10020127019c7e00,
0x100049e120802037,
0x100049e22080203e,
0x100049e32080203e,
0x100049e020802037,
0x100210e701227c40,
0x100200e7012a7c80,
0x100212e7019c4ec0,
0x100212a701167c00,
0x10020867010e0dc0,
0x100208e701801f80,
0x100049e020827031,
0x100049e220802037,
0x100241e121806eb3,
0x10020827019e7200,
0x100208e701803f80,
0x1002587481120ddb,
0x100049e220827031,
0x100202e7019e7080,
0x100049e0209e701c,
0xd0020867029e1e00,
0x10025802211e0de1,
0x100049e220827006,
0x10020867011a0dc0,
0x100049e3200a7016,
0x10124020278276ce,
0x100049e1200a7006,
0x100208a70180af80,
0x1022402227827256,
0xe0025c6700001a00,
0x100049e3200a7016,
0x10020c2715027d80,
0x10024c2081c207f6,
0x10020c27150a7d80,
0x18020c2708067d80,
0x1a020c2708067d80,
0x1c020c2708067d80,
0x1e020c2708067d80,
0x1002487095c27d80,
0x100248308180bf89,
0x100049e320827030,
0x10020c27012e7cc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t singleTextureClippingPlaneCS[] =
{
0xe0024c6700301a00,
0x100200a715c27d80,
0x100210a715c27d80,
0x100049e1200a003e,
0x100049e020802037,
0x10024122210a023e,
0x100049e320802037,
0x100049e120802037,
0x10025060210a047e,
0x100240e2218020f7,
0x100049e3200a003e,
0x1002406281c276b6,
0x100049e020827032,
0x1002502321120c3a,
0x10024821210e0cfa,
0x1002112701800f80,
0x100248e221801e72,
0xe0025c6700001a00,
0x1002487081044cbf,
0x1002082701827180,
0x100258b481827780,
0x1002417081827392,
0x100049e320827016,
0x10020c2715167d80,
0x10024c20359e7004,
0xd0020867029e1e00,
0x100049c3209e7021,
0x100049e12080403e,
0x100049e2209c300f,
0x10124020279c349f,
0x1022402227160037,
0x100049e3209c3017,
0x10020c2715027d80,
0x10020c2701827780,
0x10020c27159c3fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t multiTextureVS[] =
{
0xe0024c6700801a00,
0x100210a715c27d80,
0x100200e715c27d80,
0x100049e020802037,
0x100049e3200e003e,
0x10024161218020f7,
0x100049e0200e003e,
0x100250e221802237,
0x100049e1200e003e,
0x1002512321802477,
0x100049e2200e003e,
0x1002410181c276b6,
0xe0025c6700001a00,
0x100049e220801037,
0x1002086701167c80,
0x1002588181c203f6,
0x10025d21358014b7,
0x100049e020801037,
0x100208e7019c4e40,
0x100240a0219c3e14,
0x100049e120801037,
0x1002116701127c40,
0xd0020867029e1e00,
0x10025886210a0de1,
0x100049e020827016,
0x100248e1211a07c6,
0x101240222782725e,
0x100049e3201a7016,
0x1022402087c276f6,
0x100208e701805f80,
0x10024c2235020d9f,
0x100049e3201a7016,
0x10024c2181c207f6,
0x10020c27151a7d80,
0x18020c2708067d80,
0x1a020c2708067d80,
0x1c020c2708067d80,
0x1e020c2708067d80,
0x100248b095c27d80,
0x100248f095c27d89,
0x10020c27159e7480,
0x10020c27159e76c0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t multiTextureCS[] =
{
0xe0024c6700301a00,
0x100200a715c27d80,
0x100210a715c27d80,
0x100049e1200a003e,
0x100049e020802037,
0x10024122210a023e,
0x100049e320802037,
0x100049e120802037,
0x10025060210a047e,
0x100240e2218020f7,
0x100049e3200a003e,
0x1002406281c276b6,
0x100049e020827032,
0x1002502321120c3a,
0x10024821210e0cfa,
0x1002112701800f80,
0x100248e221801e72,
0xe0025c6700001a00,
0x1002487081044cbf,
0x1002082701827180,
0x100258b481827780,
0x1002417081827392,
0x100049e320827016,
0x10020c2715167d80,
0x10024c20359e7004,
0xd0020867029e1e00,
0x100049c3209e7021,
0x100049e12080403e,
0x100049e2209c300f,
0x10124020279c349f,
0x1022402227160037,
0x100049e3209c3017,
0x10020c2715027d80,
0x10020c2701827780,
0x10020c27159c3fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t multiTextureClippingPlaneVS[] =
{
0xe0024c6700801a00,
0x1002122715c27d80,
0x1002026715c27d80,
0x100049e22080803e,
0x100049e02080803e,
0x100049e320260037,
0x100242a1212604f7,
0x100252632126007e,
0x100049e120808037,
0x10024220218082fe,
0x100049e120260037,
0x100251e221808077,
0x100049e02026003e,
0x100251a321808437,
0x100049e12026003e,
0x100251622126067e,
0x100049e020808037,
0x1002414281c270b6,
0x100049e12080803e,
0x100049e020260037,
0x100251222180223e,
0x1002504181c09eb6,
0x100049e120802037,
0x100049e22080203e,
0x100201a7019c5e40,
0x10020127019c7e80,
0x100049e320802037,
0x100049e02080203e,
0x100049e12080203e,
0x100049e220802037,
0x100210e701227cc0,
0x100200e7012a7c00,
0x100212e7019c4e40,
0x100212a701167c80,
0x100208e7010e0dc0,
0x1002086701801f80,
0x100049e220827033,
0x100049e020802037,
0x100241e321806e31,
0x100208a7019e7680,
0x1002086701803f80,
0x100258f481120dc9,
0x100049e020827033,
0x100202e7019e7400,
0x100049e2209e700c,
0xd00208e7029e1e80,
0x10025882211e0de3,
0x100049e020827016,
0x100208e7011a0dc0,
0x100049e1200a7006,
0x101240222782725e,
0x100049e3200a7016,
0x100208270180af80,
0x10224020278276c6,
0xe0025c6700001a00,
0x100049e1200a7006,
0x10020c2715027d80,
0x10024c2081c203f6,
0x10020c27150a7d80,
0x18020c2708067d80,
0x1a020c2708067d80,
0x1c020c2708067d80,
0x1e020c2708067d80,
0x10024c2195c27036,
0x10024c2295c27276,
0x100248f095c27d92,
0x100248b08180bf9b,
0x100049e120827032,
0x10020c27012e7c40,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
uint64_t multiTextureClippingPlaneCS[] =
{
0xe0024c6700301a00,
0x100200a715c27d80,
0x100210a715c27d80,
0x100049e1200a003e,
0x100049e020802037,
0x10024122210a023e,
0x100049e320802037,
0x100049e120802037,
0x10025060210a047e,
0x100240e2218020f7,
0x100049e3200a003e,
0x1002406281c276b6,
0x100049e020827032,
0x1002502321120c3a,
0x10024821210e0cfa,
0x1002112701800f80,
0x100248e221801e72,
0xe0025c6700001a00,
0x1002487081044cbf,
0x1002082701827180,
0x100258b481827780,
0x1002417081827392,
0x100049e320827016,
0x10020c2715167d80,
0x10024c20359e7004,
0xd0020867029e1e00,
0x100049c3209e7021,
0x100049e12080403e,
0x100049e2209c300f,
0x10124020279c349f,
0x1022402227160037,
0x100049e3209c3017,
0x10020c2715027d80,
0x10020c2701827780,
0x10020c27159c3fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x100009e7009e7000,
};
//======================================================================
//======================================================================
//======================================================================
//======================================================================
//======================================================================
//======================================================================
uint64_t singleTexture_AlphaDisabled_BlendDisabled_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa0020ae715827d80,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x10020b27159cffc0,
0x10020ba7159e76c0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstZero_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x80020ae715827d80,
0x10020b27159cffc0,
0x100059ee609e701c,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusSrcAlpha_SrcSrcAlpha_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x10025020213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62580024067933,
0x1d525840249c1938,
0x114059c0200a7031,
0x1f0049e2209c003c,
0x117059c0809e7012,
0x113049e3809e7012,
0x10024821770276f3,
0x80020ae715827d80,
0x10024b20759cffe0,
0x100059eec09e7008,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOne_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x10024821213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e7000,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x80020ae715827d80,
0x10024b23759cffdc,
0x100059eec09e701c,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOne_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x80020ae715827d80,
0x10020b27159cffc0,
0x100059eec09e701c,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusSrcAlpha_SrcSrcAlpha_DepthStencilDisabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x10024020213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b624822249c093b,
0x1d52486224067930,
0x1f0049e320027034,
0x114049e2209c1039,
0x113049e0809e701b,
0x11724862979e701b,
0x100049e3609e7010,
0x800009e7009e7000,
0x100049e2609e7021,
0x100059eec09e701a,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_BlendDisabled_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa0020ae715827d80,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x100229e715027d80,
0x1f424821249c193b,
0x117049e1200a7030,
0x10040b27159cffc0,
0x10040ba7159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_BlendDisabled_DepthStencilDisabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x10020ba7159e76c0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_BlendDisabled_DepthStencilDisabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x100229e715027d80,
0x117049e1200a7030,
0x10040ba7159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusSrcAlpha_SrcSrcAlpha_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x10024821213e317e,
0x100248a3213e337e,
0x10021e67159e7480,
0x10024838819e7740,
0xd0020027159c0fc0,
0x600229e7049e7000,
0xd0080027159dffc0,
0x100009e7009e7000,
0x100229e715027d80,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a0249c0939,
0x1d5248e024067932,
0x1f0049e1200a7034,
0x114049e0209c103b,
0x113049e2809e7009,
0x117248e0979e7489,
0x100049e1609e7002,
0x80020ae715827d80,
0x10044b20759cffe3,
0x100049e2c09e7008,
0x10040ba7159e7480,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOne_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x100229e715027d80,
0x117049e1200a7030,
0x80020ae715827d80,
0x10044b20d59cffcc,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusSrcAlpha_SrcSrcAlpha_DepthStencilDisabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a0249c0939,
0x1d5248e024067932,
0x114049e0209c103b,
0x1f0049e2200a7034,
0x117049e0809e7012,
0x113049e3809e7012,
0x10024821779e76c3,
0x100229e715027d80,
0x800009e7009e7000,
0x100049e0609e7020,
0x100049e1c09e7008,
0x10040ba7159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstSrcColor_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x80020ae715827d80,
0x10024b20759cffdc,
0x100059eec09e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstSrcColor_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x117049e1200a7030,
0x100229e715027d80,
0x80020ae715827d80,
0x10044b21759cffcc,
0x100049e2c09e7009,
0x10040ba7159e7480,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t multiTextureMul_AlphaDisabled_BlendDisabled_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x100240e1213e317e,
0x100250e2213e337e,
0x10024123213e357e,
0x10025120213e377e,
0x10024821213e317e,
0x100248a3213e337e,
0x20024079819e7752,
0x10024e20353e303e,
0x10020027019e7140,
0x100213a7040e7d80,
0x10021e6715027d80,
0x60021e2715067d80,
0xa00009e7009e7000,
0x100200a7159e7900,
0xa0020ae715827d80,
0x180049c02008e03e,
0x19020867049e7900,
0x1b624882249c0939,
0x1a0049e12008303e,
0x100213a704127d80,
0x1d5248c2249e790a,
0x1c0049e22008e03e,
0x1f424802249e7913,
0x1e0049e32008403e,
0x117049c2209e7018,
0x10020b27159cffc0,
0x10020ba7159c2fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t multiTextureMulClippingPlane_AlphaDisabled_BlendDisabled_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x100250e1213e317e,
0x10024122213e337e,
0x10025123213e357e,
0x10024160213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x100253b984127d92,
0x10024e23353e36fe,
0x10024060213e377e,
0x10025021213e317e,
0xd00200e7159c0fc0,
0x200208a7019e7340,
0x100229e7049e7480,
0xd00800e7159dffc0,
0x10021e67159c0fc0,
0x60021e2715067d80,
0xa00009e7009e7000,
0x100200a7159e7900,
0x100229e7150e7d80,
0xa80059c02008303e,
0x190258eb84827936,
0x1b62480224027933,
0x1a0049e32008e03e,
0x1d524842249e7918,
0x1c0049e02008403e,
0x100213a704167d80,
0x1f424882249e7901,
0x1e0049e12008e03e,
0x117049c2209e700a,
0x10040b27159cffc0,
0x10040ba7159c2fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstZero_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x100229e715027d80,
0x117049e1200a7030,
0x80020ae715827d80,
0x10044b20759cffcc,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstSrcAlpha_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x10025020213e377e,
0x10024821213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e7000,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62580024067933,
0x1d525840249c1938,
0x114059c0200a7031,
0x1f0049e2209c003c,
0x117059c0809e7012,
0x113049e3809e7012,
0x80020ae715827d80,
0x10024b22759cffe3,
0x100049e160027034,
0x100059eec09e700a,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstSrcAlpha_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x10024821213e317e,
0x100248a3213e337e,
0x10021e67159e7480,
0x10024838819e7740,
0xd0020027159c0fc0,
0x600229e7049e7000,
0xd0080027159dffc0,
0x100009e7009e7000,
0x100229e715027d80,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a0249c0939,
0x1d5248e024067932,
0x1f0049e1200a7034,
0x114049e0209c103b,
0x113049e2809e7009,
0x117049e0809e7009,
0x80020ae715827d80,
0x10044b23759cffe2,
0x100049e0609e7004,
0x100049e1c09e7003,
0x10040ba7159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusDstAlpha_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b625800249c093b,
0x1d52584024067930,
0x1f425880249c1939,
0x117059c0200a7032,
0x80020ae715827d80,
0x100248ac8e80f9bf,
0xd00208e7119c85c0,
0x100248e2750274f4,
0x1002082711827780,
0x10020827159e7600,
0x10020867179e7000,
0x100049e0609e7021,
0x100059eec09e7010,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusDstAlpha_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x100250a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b62488024067931,
0x1d5248c0249c193a,
0x1f424800240a7933,
0x117049c0209c2038,
0x100229e715027d80,
0x80020ae715827d80,
0x100288ac8e80f9bf,
0xd0020867119c85c0,
0x100248e1759c047c,
0x100208a711827780,
0x10020827159e7680,
0x100208e7179e7000,
0x100049e0609e7023,
0x100049e0c09e7008,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOne_SrcDstColor_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x117049e1200a7030,
0x100229e715027d80,
0x80020ae715827d80,
0x10044b21759cffcc,
0x100049e0c09e700c,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstSrcAlpha_SrcOneMinusSrcAlpha_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x100250a0213e377e,
0x10024821213e317e,
0x100248a3213e337e,
0x10021e67159e7480,
0x10024838819e7740,
0xd0020027159c0fc0,
0x600229e7049e7000,
0xd0080027159dffc0,
0x100009e7009e7000,
0x100229e715027d80,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b62488024067931,
0x1d5248c0249c193a,
0x114049c0200a7033,
0x1f0049e2209c203c,
0x117049c0809e7012,
0x113049e1809e7012,
0x10020827179e7240,
0x100049e3609c0038,
0x80020ae715827d80,
0x10044b21759cffe1,
0x100049e2c09e7019,
0x10040ba7159e7480,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusSrcAlpha_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x100250a0213e377e,
0x10024821213e317e,
0x100248a3213e337e,
0x10021e67159e7480,
0x10024838819e7740,
0xd0020027159c0fc0,
0x600229e7049e7000,
0xd0080027159dffc0,
0x100009e7009e7000,
0x100229e715027d80,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b62488024067931,
0x1d5248c0249c193a,
0x1f0049e2209c203c,
0x114049c0200a7033,
0x113049e0809e7012,
0x117248c0979e7012,
0x80020ae715827d80,
0x10044b21759cffe3,
0x100049e1c09c0039,
0x10040ba7159e7240,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusSrcColor_SrcZero_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b6248a1249c0939,
0x1d5248e124067932,
0x1f424821249c193b,
0x117049e1200a7030,
0x100229e715027d80,
0x10020867179e7240,
0x80020ae715827d80,
0x10044b20759cffe1,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaDisabled_DstOneMinusSrcColor_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x100250a0213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0021027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0081027159dffc0,
0xa00009e7009e7000,
0x19020867049e7900,
0x1b62588024067931,
0x1d5258c0249c193a,
0x1f425800240a7933,
0x117059c0209c2038,
0x100229e7159c0fc0,
0x100208a717027d80,
0x80020ae715827d80,
0x10044b21759cffe2,
0x100049e0c0027031,
0x10040ba7159e7000,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstSrcAlpha_SrcOneMinusSrcAlpha_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x10025020213e377e,
0x10024821213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e7000,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62580024067933,
0x1d525840249c1938,
0x114059c0200a7031,
0x1f0049e3209c003c,
0x117059c0809e701b,
0x113049e1809e701b,
0x100208a7179e7240,
0x100049e360027032,
0x80020ae715827d80,
0x10024b22759cffe1,
0x100059eec09e701a,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusSrcAlpha_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024061213e317e,
0x10025062213e337e,
0x100240a3213e357e,
0x10025020213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62580024067933,
0x1d525840249c1938,
0x1f0049e3209c003c,
0x114059c0200a7031,
0x113049e2809e701b,
0x11725800979e749b,
0x80020ae715827d80,
0x10024b20759cffe0,
0x100059eec0027030,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusSrcColor_SrcZero_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10024021213e317e,
0x10025022213e337e,
0x10024063213e357e,
0x10025060213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b62482324027933,
0x1d524863249c0938,
0x1f4248a324067931,
0x117049e3209c103a,
0x10020827179e76c0,
0x80020ae715827d80,
0x10020b27159cffc0,
0x100059ee609e7020,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaDisabled_DstOneMinusSrcColor_SrcOne_DepthStencilEnabled_FS[] =
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x100240a0213e377e,
0x10024821213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e7000,
0xa00009e7009e7000,
0x190208e7049e7900,
0x1b625800249c093b,
0x1d52584024067930,
0x1f425880249c1939,
0x117059c0200a7032,
0x80020ae715827d80,
0x100248ec9700fdbf,
0x100049e1609e7023,
0x100059eec0027031,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTexture_AlphaGE80_BlendDisabled_DepthStencilEnabled_FS[]=
{
0x100049e0203e303e,
0x10025021213e317e,
0x10024062213e337e,
0x10025063213e357e,
0x10024020213e377e,
0x100248e1213e317e,
0x600208a7019e7340,
0x10021e67159e7480,
0x10021e27159e76c0,
0xd00208a7159c0fc0,
0xa0020ae715827d80,
0x190208e7049e7900,
0x1b624823249c093b,
0x1d52486324067930,
0x1f0049e020027034,
0x100229e7049e7000,
0xd00408a7159dffc0,
0x114049e3209c1039,
0x100229e7159e7480,
0x117049e3809e7000,
0x10040b27159cffc0,
0x10040ba7159e76c0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};
uint64_t singleTextureClippingPlane_AlphaGE80_BlendDisabled_DepthStencilEnabled_FS[]=
{
0x100049e0203e303e,
0x10025061213e317e,
0x100240a2213e337e,
0x100250a3213e357e,
0x10024060213e377e,
0x100248e1213e317e,
0x100208a7019e7340,
0x10021e67159e7480,
0x10024e23353e36fe,
0xd0020027159c0fc0,
0x60020827019e7740,
0x100229e7049e7000,
0xd0080027159dffc0,
0xd0020827159c0fc0,
0xa0020ae715827d80,
0x19020867049e7900,
0x1b624880249c1939,
0x1d5248c0240a7932,
0x1f0049e120067034,
0xd00208a7159c0fc0,
0x100229e7049e7240,
0x1142488035002dbb,
0xd0040827159dffc0,
0x1172488095027c09,
0x100229e7159e7480,
0x10040b27159cffc0,
0x10040ba7159c0fc0,
0x300009e7009e7000,
0x100009e7009e7000,
0x500009e7009e7000,
};

View File

@ -176,7 +176,7 @@ void* consecutivePoolReAllocate(ConsecutivePoolAllocator* pa, void* currentMem,
assert(0);
fprintf(stderr, "CPA realloc\n");
//fprintf(stderr, "CPA realloc\n");
uint32_t* nextCandidate = (char*)currentMem + pa->blockSize * currNumBlocks;