// asm //FIXME Replace with HLSL. // geometry_program Ogre/GPTest/Swizzle/GP_ASM asm // { // source compositors/Swizzle.gp // syntax nvgp4 // } // CG //TODO Finish me. // geometry_program Ogre/GPTest/Swizzle/GP_CG cg // { // source compositors/SwizzleGP.cg // entry_point gs_swizzle // profiles gp4gp gpu_gp // } // GLSL 120 vertex_program Ogre/GPTest/Swizzle/VP_GLSL_120 glsl { source compositors/PassthroughVP.glsl syntax glsl } geometry_program Ogre/GPTest/Swizzle/GP_GLSL_120 glsl { source compositors/SwizzleGP.glsl syntax glsl } fragment_program Ogre/GPTest/Swizzle/FP_GLSL_120 glsl { source compositors/PassthroughFP.glsl syntax glsl } // GLSL 150 vertex_program Ogre/GPTest/Swizzle/VP_GLSL_150 glsl { source compositors/PassthroughVP.glsl syntax glsl150 } geometry_program Ogre/GPTest/Swizzle/GP_GLSL_150 glsl { source compositors/SwizzleGP.glsl syntax glsl150 } fragment_program Ogre/GPTest/Swizzle/FP_GLSL_150 glsl { source compositors/PassthroughFP.glsl syntax glsl150 } // unified vertex_program Ogre/GPTest/Swizzle/VP unified { delegate Ogre/GPTest/Swizzle/VP_GLSL_150 delegate Ogre/GPTest/Swizzle/VP_GLSL_120 } geometry_program Ogre/GPTest/Swizzle/GP unified { delegate Ogre/GPTest/Swizzle/GP_GLSL_150 delegate Ogre/GPTest/Swizzle/GP_GLSL_120 default_params { param_named origColour float4 1 0 0 1 param_named cloneColour float4 1 1 1 0.3 param_named_auto WorldViewProj worldviewproj_matrix } } fragment_program Ogre/GPTest/Swizzle/FP unified { delegate Ogre/GPTest/Swizzle/FP_GLSL_150 delegate Ogre/GPTest/Swizzle/FP_GLSL_120 } material Ogre/GPTest/Swizzle { technique glsl { pass { vertex_program_ref Ogre/GPTest/Swizzle/VP { } geometry_program_ref Ogre/GPTest/Swizzle/GP { } fragment_program_ref Ogre/GPTest/Swizzle/FP { } } } //FIXME Appears broken. // technique CG // { // pass // { // geometry_program Ogre/GPTest/Swizzle/GP_CG cg // { // source compositors/SwizzleGP.cg // entry_point gs_swizzle // profiles gp4gp gpu_gp // } // } // } //TODO Replace with HLSL. // technique asm // { // pass // { // geometry_program Ogre/GPTest/Swizzle/GP_ASM asm // { // source compositors/Swizzle.gp // syntax nvgp4 // } // } // } }