Home | Back
NVIDIA Cg 2.1 November 2008 README  Copyright (C) 2002-2008 NVIDIA Corp.
==================================

This distribution contains
--------------------------

- NVIDIA Cg toolkit documentation
  in the docs directory
     
- NVIDIA Cg compiler (cgc)
  in the bin directory

- NVIDIA Cg runtime libraries
  in the lib directory

- Example Cg applications
  in the examples directory

- Under Microsoft Windows, a Cg language syntax highlighter
  for Microsoft Visual Studio is provided in the
  msdev_syntax_highlighting directory

- Under Microsoft Windows, if selected at install time, 64-bit
  binaries and libraries are in the bin.x64 and lib.x64 directories.

See the release notes (docs/CgReleaseNotes.pdf) for detailed
information about this release.

The Cg toolkit is available for a number of different hardware and
OS platforms.  As of this writing, supported platforms include:

  - Microsoft NT 4, 2000, and Windows XP & Vista on IA32/x86/x86-64 (Intel, AMD)
  - Linux on IA32/x86 (Intel, AMD)
  - Linux for x64 (AMD64 and EMT64)
  - MacOS X 10.4 and 10.5 (Tiger and Leopard)
  - Solaris (x86)

Visit the NVIDIA Cg website at http://developer.nvidia.com/page/cg_main.html
for updates and complete compatibility information.

Changes since Cg 2.1 October 2008
---------------------------------
- Bug fixes
  - Fixed crash when cgGL routines were called without a current GL context
  - Fixed a bug in compiling CgFX files with multiple geometry shaders
  - Fixed D3D10 runtime's handling of the parameter buffer (cbuffer)
  - D3D10 runtime now correctly deals with true integer parameters
  - Shared parameter arrays were not being updated correctly
  - Corrected some minor issues in the Sun package file

Changes since Cg 2.0
--------------------
- New features
  - New translation profiles for DirectX10 Shader Model 4
  - Shader source virtual file system for compilation
  - Callback for providing shader source included by the compiler
  - Improved handling of generic attributes by the GLSL profile
  - Added more 'clip' functions for improved compatibility with HLSL
  - TEXCOORD8-15 now available in vs/ps 3.0 profiles
  - Solaris release in Sun package format
  - Performance improvements and bug fixes
    - Fixed sampler initialization by the GLSL profile
    - Fixed handling of integer parameters values
    - Fixed handling of interpolation modifiers
- New examples
  - Direct3D10/advanced/cgfx_buffer_lighting
  - Direct3D10/basic/02_vertex_and_fragment_program
  - Direct3D10/basic/03_uniform_parameter
  - Direct3D10/basic/04_varying_parameter
  - Direct3D10/basic/05_texture_sampling
  - Direct3D10/basic/06_vertex_twisting
  - Direct3D10/basic/07_two_texture_accesses
  - Direct3D10/basic/cgfx_buffer
  - Direct3D10/basic/cgfx_simple
  - Direct3D10/basic/cgfx_texture
  - OpenGL/advanced/generic_attribs
  - OpenGL/advanced/include_string
  - OpenGL/basic/23_bump_map_floor
- New documentation
  - Updated reference manual for new profiles and entry points