44 lines
1.6 KiB
NASM
44 lines
1.6 KiB
NASM
//
|
|
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
|
|
//
|
|
//
|
|
//
|
|
// Input signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// POSITION 0 xyz 0 NONE float xyz
|
|
//
|
|
//
|
|
// Output signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// SV_Position 0 xyzw 0 POS float xyzw
|
|
// COLOR 0 xyz 1 NONE float xyz
|
|
//
|
|
vs_5_0
|
|
dcl_globalFlags refactoringAllowed | skipOptimization
|
|
dcl_input v0.xyz
|
|
dcl_output_siv o0.xyzw, position
|
|
dcl_output o1.xyz
|
|
dcl_temps 2
|
|
//
|
|
// Initial variable locations:
|
|
// v0.x <- input.position_D.x; v0.y <- input.position_D.y; v0.z <- input.position_D.z;
|
|
// o1.x <- <vs_main return value>.color.x; o1.y <- <vs_main return value>.color.y; o1.z <- <vs_main return value>.color.z;
|
|
// o0.x <- <vs_main return value>.position_H.x; o0.y <- <vs_main return value>.position_H.y; o0.z <- <vs_main return value>.position_H.z; o0.w <- <vs_main return value>.position_H.w
|
|
//
|
|
#line 16 "C:\Users\Epagris\Desktop\GRAFIKA\WinApi\RUNTIME\shaders\basic_shader.hlsl"
|
|
itof r0.w, l(1) // r0.w <- output.position_H.w
|
|
mov r0.xyz, v0.xyzx // r0.x <- output.position_H.x; r0.y <- output.position_H.y; r0.z <- output.position_H.z
|
|
|
|
#line 17
|
|
mov r1.xyz, v0.xyzx // r1.x <- output.color.x; r1.y <- output.color.y; r1.z <- output.color.z
|
|
|
|
#line 19
|
|
mov o0.xyzw, r0.xyzw
|
|
mov o1.xyz, r1.xyzx
|
|
ret
|
|
// Approximately 6 instruction slots used
|