User:Volnaiskra

From Bo3b's School for Shaderhackers
Revision as of 04:42, 14 March 2015 by Volnaiskra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

hello world

TheBall01 85.jpg


Lesson 1

//
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   float4x4 LocalToWorld;
//   float4x4 ViewProjectionMatrix;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   ViewProjectionMatrix c0       4
//   LocalToWorld         c6       4
//

    vs_3_0
    dcl_position v0
    dcl_position o0
    mul r0, c7, v0.y
    mad r0, c6, v0.x, r0
    mad r0, c8, v0.z, r0
    mad r0, c9, v0.w, r0
    mul r1, r0.y, c1
    mad r1, c0, r0.x, r1
    mad r1, c2, r0.z, r1
    mad o0, c3, r0.w, r1

// approximately 8 instruction slots used