Changeset 3877 for branches/1.3/packages/vizservers/nanovis/Shader.cpp
- Timestamp:
- Aug 21, 2013, 10:52:23 AM (11 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
- Property svn:mergeinfo changed
/trunk merged: 3847-3850,3852,3859-3861,3865-3876
- Property svn:mergeinfo changed
-
branches/1.3/packages/vizservers/nanovis/Shader.cpp
r3630 r3877 12 12 #include <util/FilePath.h> 13 13 14 #include "config.h" 14 15 #include "Shader.h" 15 16 #include "Trace.h" … … 18 19 using namespace nv::util; 19 20 21 /** 22 * These correspond to NV_vertex_program3 and NV_fragment_program2: 23 * CG_PROFILE_VP40 24 * CG_PROFILE_FP40 25 * 26 * These correspond to ARB_vertex_program and ARB_fragment_program: 27 * CG_PROFILE_ARBVP1 28 * CG_PROFILE_ARBFP1 29 * 30 * Generic GLSL targets: 31 * CG_PROFILE_GLSLV 32 * CG_PROFILE_GLSLF 33 */ 34 #ifdef USE_ARB_PROGRAMS 35 CGprofile Shader::_defaultVertexProfile = CG_PROFILE_ARBVP1; 36 CGprofile Shader::_defaultFragmentProfile = CG_PROFILE_ARBFP1; 37 #else 20 38 CGprofile Shader::_defaultVertexProfile = CG_PROFILE_VP40; 21 39 CGprofile Shader::_defaultFragmentProfile = CG_PROFILE_FP40; 40 #endif 22 41 CGcontext Shader::_cgContext = NULL; 23 42
Note: See TracChangeset
for help on using the changeset viewer.