add mesa shader examples

This commit is contained in:
Zack Buhman 2025-10-16 21:37:24 -05:00
parent 1f99e67169
commit 4fb8b47231
5 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,4 @@
0x00f00203,
0x00d10001,
0x01248001,
0x01248001,

View File

@ -0,0 +1,20 @@
// Radeon Compiler Program
// 0: MOV output[1].xyz, input[1].xyz_;
// 1: MOV output[0], input[0].xyz1;
// Final vertex program code:
// 0: op: 0x00702203 dst: 1o op: VE_ADD
// src0: 0x01d10021 reg: 1i swiz: X/ Y/ Z/ U
// src1: 0x01248021 reg: 1i swiz: 0/ 0/ 0/ 0
// src2: 0x01248021 reg: 1i swiz: 0/ 0/ 0/ 0
// 1: op: 0x00f00203 dst: 0o op: VE_ADD
// src0: 0x01510001 reg: 0i swiz: X/ Y/ Z/ 1
// src1: 0x01248001 reg: 0i swiz: 0/ 0/ 0/ 0
// src2: 0x01248001 reg: 0i swiz: 0/ 0/ 0/ 0
0x00702203,
0x01d10021,
0x01248021,
0x01248021,
0x00f00203,
0x01510001,
0x01248001,
0x01248001,

View File

@ -0,0 +1,28 @@
0x00f00003,
0x00d10022,
0x01248022,
0x01248022,
0x00f02003,
0x00d10022,
0x01248022,
0x01248022,
0x00100004,
0x01ff0002,
0x01ff0020,
0x01ff2000,
0x00100006,
0x01ff0000,
0x01248000,
0x01248000,
0x00100004,
0x01ff0000,
0x01ff4022,
0x01ff6022,
0x00100050,
0x00000000,
0x01248000,
0x01248000,
0x00f00204,
0x0165a000,
0x01690001,
0x01240000,

40
shader_examples/mesa/code4.txt Executable file
View File

@ -0,0 +1,40 @@
0x00f00003,
0x00d10022,
0x01248022,
0x01248022,
0x00f02003,
0x00d10022,
0x01248022,
0x01248022,
0x00100004,
0x01ff0002,
0x01ff0020,
0x01ff2000,
0x00100006,
0x01ff0000,
0x01248000,
0x01248000,
0x00100004,
0x01ff0000,
0x01ff4022,
0x01ff6022,
0x00200051,
0x00000000,
0x01248000,
0x01248000,
0x00100050,
0x00000000,
0x01248000,
0x01248000,
0x00600002,
0x01c8e001,
0x01c9e000,
0x01248000,
0x00500204,
0x1fe72001,
0x01e70000,
0x01e72000,
0x00a00204,
0x0138e001,
0x0138e000,
0x017ae000,

View File

@ -0,0 +1,12 @@
0x00007807,
0x02400000,
0xe400f400,
0x00000000,
0x00000000,
0x00000000,
0x00078005,
0x08020000,
0x08020000,
0x1c440220,
0x1c60c003,
0x00000005,