2020-02-29 10:33:37 +01:00

39 lines
1.4 KiB
NASM

//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 POS float
// COLOR 0 xyz 1 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
ps_5_0
dcl_globalFlags refactoringAllowed | skipOptimization
dcl_input_ps linear v1.xyz
dcl_output o0.xyzw
dcl_temps 1
//
// Initial variable locations:
// v0.x <- input.position_H.x; v0.y <- input.position_H.y; v0.z <- input.position_H.z; v0.w <- input.position_H.w;
// v1.x <- input.color.x; v1.y <- input.color.y; v1.z <- input.color.z;
// o0.x <- <ps_main return value>.color.x; o0.y <- <ps_main return value>.color.y; o0.z <- <ps_main return value>.color.z; o0.w <- <ps_main return value>.color.w
//
#line 32 "C:\Users\Epagris\Desktop\GRAFIKA\WinApi\RUNTIME\shaders\basic_shader.hlsl"
mov r0.xyz, v1.xyzx // r0.x <- output.color.x; r0.y <- output.color.y; r0.z <- output.color.z
mov r0.w, l(1.000000) // r0.w <- output.color.w
#line 34
mov o0.xyzw, r0.xyzw
ret
// Approximately 4 instruction slots used