cg.h | cg.h | |||
---|---|---|---|---|
skipping to change at line 760 | skipping to change at line 760 | |||
{ | { | |||
CG_PROFILE_UNKNOWN = 6145, | CG_PROFILE_UNKNOWN = 6145, | |||
CG_PROFILE_VP20 = 6146, | CG_PROFILE_VP20 = 6146, | |||
CG_PROFILE_FP20 = 6147, | CG_PROFILE_FP20 = 6147, | |||
CG_PROFILE_VP30 = 6148, | CG_PROFILE_VP30 = 6148, | |||
CG_PROFILE_FP30 = 6149, | CG_PROFILE_FP30 = 6149, | |||
CG_PROFILE_ARBVP1 = 6150, | CG_PROFILE_ARBVP1 = 6150, | |||
CG_PROFILE_FP40 = 6151, | CG_PROFILE_FP40 = 6151, | |||
CG_PROFILE_ARBFP1 = 7000, | CG_PROFILE_ARBFP1 = 7000, | |||
CG_PROFILE_VP40 = 7001, | CG_PROFILE_VP40 = 7001, | |||
CG_PROFILE_GLSLV = 7007, | CG_PROFILE_GLSLV = 7007, /* GLSL vertex shader | |||
CG_PROFILE_GLSLF = 7008, | */ | |||
CG_PROFILE_GLSLG = 7016, | CG_PROFILE_GLSLF = 7008, /* GLSL fragment shader | |||
CG_PROFILE_GLSLC = 7009, | */ | |||
CG_PROFILE_GLSLG = 7016, /* GLSL geometry shader | ||||
*/ | ||||
CG_PROFILE_GLSLC = 7009, /* Combined GLSL program | ||||
*/ | ||||
CG_PROFILE_GPU_FP = 7010, /* Deprecated alias for CG_PROFILE_GP4FP */ | CG_PROFILE_GPU_FP = 7010, /* Deprecated alias for CG_PROFILE_GP4FP */ | |||
CG_PROFILE_GPU_VP = 7011, /* Deprecated alias for CG_PROFILE_GP4VP */ | CG_PROFILE_GPU_VP = 7011, /* Deprecated alias for CG_PROFILE_GP4VP */ | |||
CG_PROFILE_GPU_GP = 7012, /* Deprecated alias for CG_PROFILE_GP4GP */ | CG_PROFILE_GPU_GP = 7012, /* Deprecated alias for CG_PROFILE_GP4GP */ | |||
CG_PROFILE_GP4FP = 7010, | CG_PROFILE_GP4FP = 7010, /* NV_gpu_program4 fragment program | |||
CG_PROFILE_GP4VP = 7011, | */ | |||
CG_PROFILE_GP4GP = 7012, | CG_PROFILE_GP4VP = 7011, /* NV_gpu_program4 vertex program | |||
CG_PROFILE_GP5FP = 7017, /* NV_gpu_program5 | */ | |||
*/ | CG_PROFILE_GP4GP = 7012, /* NV_gpu_program4 geometry program | |||
CG_PROFILE_GP5VP = 7018, /* NV_gpu_program5 | */ | |||
*/ | CG_PROFILE_GP5FP = 7017, /* NV_gpu_program5 fragment program | |||
CG_PROFILE_GP5GP = 7019, /* NV_gpu_program5 | */ | |||
*/ | CG_PROFILE_GP5VP = 7018, /* NV_gpu_program5 vertex program | |||
CG_PROFILE_GP5TCP = 7020, /* NV_tessellation_program5 Tessellation contr | */ | |||
ol program */ | CG_PROFILE_GP5GP = 7019, /* NV_gpu_program5 geometry program | |||
CG_PROFILE_GP5TEP = 7021, /* NV_tessellation_program5 Tessellation evalu | */ | |||
ation program */ | CG_PROFILE_GP5TCP = 7020, /* NV_tessellation_program5 tessellation contr | |||
ol program */ | ||||
CG_PROFILE_GP5TEP = 7021, /* NV_tessellation_program5 tessellation evalu | ||||
ation program */ | ||||
CG_PROFILE_VS_1_1 = 6153, | CG_PROFILE_VS_1_1 = 6153, | |||
CG_PROFILE_VS_2_0 = 6154, | CG_PROFILE_VS_2_0 = 6154, | |||
CG_PROFILE_VS_2_X = 6155, | CG_PROFILE_VS_2_X = 6155, | |||
CG_PROFILE_VS_2_SW = 6156, | CG_PROFILE_VS_2_SW = 6156, | |||
CG_PROFILE_VS_3_0 = 6157, | ||||
CG_PROFILE_HLSLV = 6158, | ||||
CG_PROFILE_PS_1_1 = 6159, | CG_PROFILE_PS_1_1 = 6159, | |||
CG_PROFILE_PS_1_2 = 6160, | CG_PROFILE_PS_1_2 = 6160, | |||
CG_PROFILE_PS_1_3 = 6161, | CG_PROFILE_PS_1_3 = 6161, | |||
CG_PROFILE_PS_2_0 = 6162, | CG_PROFILE_PS_2_0 = 6162, | |||
CG_PROFILE_PS_2_X = 6163, | CG_PROFILE_PS_2_X = 6163, | |||
CG_PROFILE_PS_2_SW = 6164, | CG_PROFILE_PS_2_SW = 6164, | |||
CG_PROFILE_PS_3_0 = 6165, | CG_PROFILE_VS_3_0 = 6157, /* DX9 vertex shader | |||
CG_PROFILE_HLSLF = 6166, | */ | |||
CG_PROFILE_VS_4_0 = 6167, | CG_PROFILE_PS_3_0 = 6165, /* DX9 pixel shader | |||
CG_PROFILE_PS_4_0 = 6168, | */ | |||
CG_PROFILE_GS_4_0 = 6169, | CG_PROFILE_HLSLV = 6158, /* DX9 HLSL vertex shader | |||
CG_PROFILE_VS_5_0 = 6170, | */ | |||
CG_PROFILE_PS_5_0 = 6171, | CG_PROFILE_HLSLF = 6166, /* DX9 HLSL fragment shader | |||
CG_PROFILE_GS_5_0 = 6172, | */ | |||
CG_PROFILE_HS_5_0 = 6173, | CG_PROFILE_VS_4_0 = 6167, /* DX10 vertex shader | |||
CG_PROFILE_DS_5_0 = 6174, | */ | |||
CG_PROFILE_PS_4_0 = 6168, /* DX10 pixel shader | ||||
*/ | ||||
CG_PROFILE_GS_4_0 = 6169, /* DX10 geometry shader | ||||
*/ | ||||
CG_PROFILE_VS_5_0 = 6170, /* DX11 vertex shader | ||||
*/ | ||||
CG_PROFILE_PS_5_0 = 6171, /* DX11 pixel shader | ||||
*/ | ||||
CG_PROFILE_GS_5_0 = 6172, /* DX11 geometry shader | ||||
*/ | ||||
CG_PROFILE_HS_5_0 = 6173, /* DX11 hull shader (tessellation control) | ||||
*/ | ||||
CG_PROFILE_DS_5_0 = 6174, /* DX11 domain shader (tessellation evaluation | ||||
) */ | ||||
CG_PROFILE_GENERIC = 7002 | CG_PROFILE_GENERIC = 7002 | |||
} CGprofile; | } CGprofile; | |||
typedef enum | typedef enum | |||
{ | { | |||
CG_NO_ERROR = 0, | CG_NO_ERROR = 0, | |||
CG_COMPILER_ERROR = 1, | CG_COMPILER_ERROR = 1, | |||
CG_INVALID_PARAMETER_ERROR = 2, | CG_INVALID_PARAMETER_ERROR = 2, | |||
CG_INVALID_PROFILE_ERROR = 3, | CG_INVALID_PROFILE_ERROR = 3, | |||
CG_PROGRAM_LOAD_ERROR = 4, | CG_PROGRAM_LOAD_ERROR = 4, | |||
End of changes. 4 change blocks. | ||||
29 lines changed or deleted | 48 lines changed or added | |||