.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R

.fi
..
.tr \(*W-|\(bv\*(Tr
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
'br\}
.if \nF \{\
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
..
.    nr % 0
.    rr F
.\}
.hy 0
.if n .na
.bd B 3
.    \" fudge factors for nroff and troff
.if n \{\
.    ds #H 0
.    ds #V .8m
.    ds #F .3m
.    ds #[ \f1
.    ds #] \fP
.\}
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #F 0
.    ds #[ \&
.    ds #] \&
.\}
.    \" simple accents for nroff and troff
.if n \{\
.    ds ' \&
.    ds ` \&
.    ds ^ \&
.    ds , \&
.    ds ~ ~
.    ds /
.\}
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.    \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
.    ds : e
.    ds 8 ss
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds ae ae
.    ds Ae AE
.\}
.rm #[ #] #H #V #F C
.IX Title "cgc Cg"
.TH cgc Cg "" "Cg Toolkit 2.2" "Cg Commands"
.UC
.SH "NAME"
\&\fBcgc\fR \- cg compiler driver
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
cgc [options] file ...
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBcgc\fR is the standalone Cg compiler which translates Cg or \s-1GLSL\s0 programs
into OpenGL or DirectX shader assembly code, or OpenGL or DirectX shading
language code.
.SH "OPTIONS"
.IX Header "OPTIONS"
.Sh "Basic options"
.IX Subsection "Basic options"
.Ip "\-entry \fIname\fR" 4
.IX Item "-entry name"
Sets the entry function for the shader to compile.  Defaults to \f(CW\*(C`main\*(C'\fR
.Ip "\-o \fIfile\fR" 4
.IX Item "-o file"
Sets the output file to be written.  Default outputs to stdout
.Ip "\-l \fIfile\fR" 4
.IX Item "-l file"
Sets the listing file, where error and warning messages are written.
Defaults to stderr
.Ip "\-profile \fIname\fR" 4
.IX Item "-profile name"
Selects the target profile, specifying the shader language to be generated
.Ip "\-profileopts \fIopt1,opt2,...\fR" 4
.IX Item "-profileopts opt1,opt2,..."
.PD 0
.Ip "\-po \fIopt1,opt2,...\fR" 4
.IX Item "-po opt1,opt2,..."
.PD
Sets one or more profile specific options
.Ip "\-noentry" 4
.IX Item "-noentry"
Sets check only mode, where no shader is compiled, but all the code in
the input file is checked for syntactic correctness
.Sh "Language options"
.IX Subsection "Language options"
.Ip "\-oglsl" 4
.IX Item "-oglsl"
Sets the source language to \s-1GLSL\s0.
.Ip "\-ogles" 4
.IX Item "-ogles"
Sets the source language to OpneGL/ES \s-1GLSL\s0.
.Ip "\-strict" 4
.IX Item "-strict"
.PD 0
.Ip "\-nostrict" 4
.IX Item "-nostrict"
.PD
Enable or disable strict typechecking, where most questionable constructs
will be flagged as warnings.
.Ip "\-glslWerror" 4
.IX Item "-glslWerror"
Like \f(CW\*(C`\-strict\*(C'\fR but in addition, unportable \s-1GLSL\s0 constructs will be flagged
as errors
.Ip "\-nowarn" 4
.IX Item "-nowarn"
Disable all warnings
.Ip "\-nowarn=\fIN,N,...\fR" 4
.IX Item "-nowarn=N,N,..."
Disable one or more specific numbered warnings
.Ip "\-fx" 4
.IX Item "-fx"
.PD 0
.Ip "\-nofx" 4
.IX Item "-nofx"
.PD
Enables or disables \s-1FX\s0 parsing mode, where \s-1FX\s0 keywords are recognized.
Defaults to on in Cg mode and off in \s-1GLSL\s0 mode
.Ip "\-nostdlib" 4
.IX Item "-nostdlib"
Disable the standard library.
.Sh "Code Generation Options"
.IX Subsection "Code Generation Options"
.Ip "\-fastmath" 4
.IX Item "-fastmath"
.PD 0
.Ip "\-nofastmath" 4
.IX Item "-nofastmath"
.PD
Enable or disable optimizations that may chage/lose precision in low order bits, such as assocative transforms like \f(CW\*(C`(a + b) + c\*(C'\fR instead of \f(CW\*(C`a + (b + c)\*(C'\fR.  Default is \-fastmath
.Ip "\-fastprecision" 4
.IX Item "-fastprecision"
.PD 0
.Ip "\-nofastprecision" 4
.IX Item "-nofastprecision"
.PD
Enable or disable optimzations doing operations at lower precision than is specified when the result is later converted to a lower precision or the operands were originally in lower precision.  Default is \-nofastprecision
.Ip "\-bestprecision" 4
.IX Item "-bestprecision"
Always do things in the best possible precision; only use lower precision operations if there is no possibility of difference.  Implies \-nofastmath and \-nofastprecision
.Ip "\-unroll all|none|count=\fIN\fR" 4
.IX Item "-unroll all|none|count=N"
Control loop unrolling.  \f(CW\*(C`\-unroll all\*(C'\fR will force unrolling of all
loops that can be unrolled, while \f(CW\*(C`\-unroll none\*(C'\fR will prevent unrolling
except if code cannot otherwise be generated in the current profiles
(so it will have no effect in profiles that don't support looping).
\&\f(CW\*(C`unroll count=\f(CIN\f(CW \*(C'\fR will unroll loops if the estimate of the resulting
code is less than \fIN\fR instructions.  The estimate does not take into
account further optimizations that may be done after unrolling, so it
might be quite inaccurate.
.Ip "\-inline all|none|count=\fIN\fR" 4
.IX Item "-inline all|none|count=N"
Control function inlining.  Setting \f(CW\*(C`\-inline none\*(C'\fR will additionally
disable inlining of functions with an explicit \f(CW\*(C`inline\*(C'\fR keyword, which
are otherwise always inlined.  Setting \f(CW\*(C`\-inline count=0\*(C'\fR will effectively
disable inlining of all functions that do not have an explicit \f(CW\*(C`inline\*(C'\fR keyword.
.Ip "\-ifcvt all|none|count=\fIN\fR" 4
.IX Item "-ifcvt all|none|count=N"
control if conversion (replacement of small if/else blocks with
conditional assignments)
.Ip "\-O\fIN\fR" 4
.IX Item "-ON"
Sets the optimization level of the compiler, from 0 (lowest) to 3 (highest).
Higher values may produce better code and will cause compile time to increase.
Default is \f(CW\*(C`\-O1\*(C'\fR.
.Ip "\-looplimit \fIN\fR" 4
.IX Item "-looplimit N"
Assume loops that the compiler cannot determine an upper bound on the
number of iterations may loop as many as \fIN\fR iterations.  This may
require generating extra code for such loops in some profiles.
.Ip "\-d3d" 4
.IX Item "-d3d"
Generate code compatable with the Direct3D specification.
.Ip "\-MaxInstInBasicBlock \fIN\fR" 4
.IX Item "-MaxInstInBasicBlock N"
break basic blocks after \fIN\fR instructions.  This has an effect on local
optimizations that don't cross basic block boundaries and may avoid bad
compile time blowups in the presence of huge basic blocks due to algorithms
that are non-linear in the basic block size.
.Ip "\-maxunrollcount \fIN\fR" 4
.IX Item "-maxunrollcount N"
Deprecated.  Don't unroll loops with more than \fIN\fR iterations.  Use the \-unroll option instead, which provides better fine-grained control.
.Sh "Preprocessor Options"
.IX Subsection "Preprocessor Options"
.Ip "\-D\fI\s-1MACRO\s0\fR[=\fI\s-1VALUE\s0\fR]" 4
.IX Item "-DMACRO[=VALUE]"
Sets a preprocessor macro.  If \fI\s-1VALUE\s0\fR is not specified it defaults to \f(CW\*(C`1\*(C'\fR.
.Ip "\-I\fIdirectory\fR" 4
.IX Item "-Idirectory"
Adds a directory to the end of the search path for \f(CW\*(C`#include\*(C'\fR files.  The
default search path is empty.
.Ip "\-E" 4
.IX Item "-E"
Don't compile, just prepocess the input.
.Ip "\-P" 4
.IX Item "-P"
With \f(CW\*(C`\-E\*(C'\fR, supresses the generation of \f(CW\*(C`#line\*(C'\fR directives in the output.
.Ip "\-C" 4
.IX Item "-C"
With \f(CW\*(C`\-E\*(C'\fR, preserves comments in the output.
.Ip "\-MG" 4
.IX Item "-MG"
Ignore \f(CW\*(C`#include\*(C'\fR files that can't be found, rather than issuing an error
.Ip "\-M" 4
.IX Item "-M"
.PD 0
.Ip "\-MM" 4
.IX Item "-MM"
.Ip "\-MD" 4
.IX Item "-MD"
.Ip "\-MMD" 4
.IX Item "-MMD"
.Ip "\-MP" 4
.IX Item "-MP"
.Ip "\-MF \fIfile\fR" 4
.IX Item "-MF file"
.Ip "\-MT \fItarget\fR" 4
.IX Item "-MT target"
.Ip "\-MQ \fItarget\fR" 4
.IX Item "-MQ target"
.PD
Generate dependency information about \f(CW\*(C`#include\*(C'\fRd files.  These options
are intended to be compatible with the options to \f(CW\*(C`gcc\*(C'\fR
.Sh "Miscellaneous Options"
.IX Subsection "Miscellaneous Options"
.Ip "\-quiet" 4
.IX Item "-quiet"
.PD 0
.Ip "\-q" 4
.IX Item "-q"
.PD
Supress all 'noise' output (copyright notices, indications of which
files are being compiled, etc).  With \-o and \-l, should result in no
output being produced.
.Ip "\-nocode" 4
.IX Item "-nocode"
Supress final code generation.  Will actually run all the way through the
compiler (so any errors present should be diagnosed), but don't produce
any actual output code.
.Ip "\-v" 4
.IX Item "-v"
.PD 0
.Ip "\*(--version" 4
.IX Item "version"
.PD
Print compiler version information to listing.
.Ip "\-h" 4
.IX Item "-h"
Print short option help summary to stdout and exit
.Ip "\-help" 4
.IX Item "-help"
Print longer option help summary to stdout, including all supported
profiles and profile options, and exit
.Ip "\-type \fItype_definition\fR" 4
.IX Item "-type type_definition"
Set an override type binding for a variable
.Ip "\-typefile \fIfile\fR" 4
.IX Item "-typefile file"
Read override type bindings for variables from a file.
.Ip "\-dumpinputbind <file>" 4
.IX Item "-dumpinputbind <file>"
Dump type bindings for all variables to a file.  This file may be passed
back to the compiler with \f(CW\*(C`\-typefile\*(C'\fR.
.Sh "Debugging options"
.IX Subsection "Debugging options"
.Ip "\-debug" 4
.IX Item "-debug"
Enable the \f(CW\*(C`debug\*(C'\fR builtin function to abort operation of a shader and
immedaitely output a value.
.Ip "\-debuglast" 4
.IX Item "-debuglast"
Like \f(CW\*(C`\-debug\*(C'\fR, except the shader does not abort; instead it continues and
outputs the value of the last \f(CW\*(C`debug\*(C'\fR function called.
.Ip "\-debugdefault=\fIvalue\fR" 4
.IX Item "-debugdefault=value"
Like \f(CW\*(C`\-debug\*(C'\fR, except if no \f(CW\*(C`debug\*(C'\fR call is reached, the output will be
set to the specified value instead of what the shader normally computes.
.SH "PROFILES"
.IX Header "PROFILES"
A \fIprofile\fR specifies the output language of the cg compiler (either a
shader assembly dialect, or a shading language).  Each profile has its own
set of \fIprofile options\fR that can be set for it, though many related
profiles have similar or identical options.  Profiles can be grouped by
program type, \s-1API\s0, or \s-1GPU\s0 generation.
.Ip "DirectX profiles" 4
.IX Item "DirectX profiles"
\&\f(CW\*(C`dx8ps\*(C'\fR,
\&\f(CW\*(C`dx8vs\*(C'\fR,
\&\f(CW\*(C`dx9ps2\*(C'\fR,
\&\f(CW\*(C`dxvs2\*(C'\fR,
\&\f(CW\*(C`hlslf\*(C'\fR,
\&\f(CW\*(C`hlslv\*(C'\fR,
\&\f(CW\*(C`ps_1_1\*(C'\fR,
\&\f(CW\*(C`ps_1_2\*(C'\fR,
\&\f(CW\*(C`ps_1_3\*(C'\fR, 
\&\f(CW\*(C`ps_2_0\*(C'\fR,
\&\f(CW\*(C`ps_2_x\*(C'\fR,
\&\f(CW\*(C`ps_3_0\*(C'\fR,
\&\f(CW\*(C`vs_1_1\*(C'\fR,
\&\f(CW\*(C`vs_2_0\*(C'\fR,
\&\f(CW\*(C`vs_2_x\*(C'\fR,
\&\f(CW\*(C`vs_3_0\*(C'\fR
.Ip "OpenGL profiles" 4
.IX Item "OpenGL profiles"
\&\f(CW\*(C`arbfp1\*(C'\fR,
\&\f(CW\*(C`arbvp1\*(C'\fR,
\&\f(CW\*(C`fp20\*(C'\fR,
\&\f(CW\*(C`fp30\*(C'\fR,
\&\f(CW\*(C`fp30unlimited\*(C'\fR,
\&\f(CW\*(C`fp40\*(C'\fR,
\&\f(CW\*(C`fp40unlimited\*(C'\fR,
\&\f(CW\*(C`glslf\*(C'\fR,
\&\f(CW\*(C`glslv\*(C'\fR,
\&\f(CW\*(C`gp4fp\*(C'\fR,
\&\f(CW\*(C`gp4gp\*(C'\fR,
\&\f(CW\*(C`gp4vp\*(C'\fR,
\&\f(CW\*(C`gpu_fp\*(C'\fR,
\&\f(CW\*(C`gpu_gp\*(C'\fR,
\&\f(CW\*(C`gpu_vp\*(C'\fR,
\&\f(CW\*(C`vp20\*(C'\fR,
\&\f(CW\*(C`vp30\*(C'\fR,
\&\f(CW\*(C`vp40\*(C'\fR
.Ip "Fragment profiles" 4
.IX Item "Fragment profiles"
\&\f(CW\*(C`arbfp1\*(C'\fR,
\&\f(CW\*(C`dx8ps\*(C'\fR,
\&\f(CW\*(C`dx9ps2\*(C'\fR,
\&\f(CW\*(C`hlslf\*(C'\fR,
\&\f(CW\*(C`fp20\*(C'\fR,
\&\f(CW\*(C`fp30\*(C'\fR,
\&\f(CW\*(C`fp30unlimited\*(C'\fR,
\&\f(CW\*(C`fp40\*(C'\fR,
\&\f(CW\*(C`fp40unlimited\*(C'\fR,
\&\f(CW\*(C`glslf\*(C'\fR,
\&\f(CW\*(C`gp4fp\*(C'\fR,
\&\f(CW\*(C`gpu_fp\*(C'\fR,
\&\f(CW\*(C`ps_1_1\*(C'\fR,
\&\f(CW\*(C`ps_1_2\*(C'\fR,
\&\f(CW\*(C`ps_1_3\*(C'\fR, 
\&\f(CW\*(C`ps_2_0\*(C'\fR,
\&\f(CW\*(C`ps_2_x\*(C'\fR,
\&\f(CW\*(C`ps_3_0\*(C'\fR
.Ip "Geometry profiles" 4
.IX Item "Geometry profiles"
\&\f(CW\*(C`gp4gp\*(C'\fR, \f(CW\*(C`gpu_gp\*(C'\fR
.Ip "Vertex profiles" 4
.IX Item "Vertex profiles"
\&\f(CW\*(C`arbvp1\*(C'\fR,
\&\f(CW\*(C`dx8vs\*(C'\fR,
\&\f(CW\*(C`dxvs2\*(C'\fR,
\&\f(CW\*(C`glslv\*(C'\fR,
\&\f(CW\*(C`gp4vp\*(C'\fR,
\&\f(CW\*(C`gpu_vp\*(C'\fR,
\&\f(CW\*(C`hlslv\*(C'\fR,
\&\f(CW\*(C`vp20\*(C'\fR,
\&\f(CW\*(C`vp30\*(C'\fR,
\&\f(CW\*(C`vp40\*(C'\fR,
\&\f(CW\*(C`vs_1_1\*(C'\fR,
\&\f(CW\*(C`vs_2_0\*(C'\fR,
\&\f(CW\*(C`vs_2_x\*(C'\fR,
\&\f(CW\*(C`vs_3_0\*(C'\fR
.Ip "Geforce 3/4 profiles" 4
.IX Item "Geforce 3/4 profiles"
\&\f(CW\*(C`fp20\*(C'\fR, \f(CW\*(C`vp20\*(C'\fR
.Ip "Geforce 5 profiles" 4
.IX Item "Geforce 5 profiles"
\&\f(CW\*(C`fp30\*(C'\fR, \f(CW\*(C`vp30\*(C'\fR
.Ip "Geforce 6/7 profiles" 4
.IX Item "Geforce 6/7 profiles"
\&\f(CW\*(C`fp40\*(C'\fR, \f(CW\*(C`vp40\*(C'\fR
.Ip "Geforce 8 profiles" 4
.IX Item "Geforce 8 profiles"
\&\f(CW\*(C`gp4fp\*(C'\fR, \f(CW\*(C`gp4gp\*(C'\fR, \f(CW\*(C`gp4vp\*(C'\fR, \f(CW\*(C`gpu_fp\*(C'\fR, \f(CW\*(C`gpu_gp\*(C'\fR, \f(CW\*(C`gpu_vp\*(C'\fR
.Sh "Profile options"
.IX Subsection "Profile options"
Here is a complete list of all profiles and their corresponding profile options
.if n .Ip "\f(CW""""arbfp1""""\fR" 4
.if !n .Ip "\f(CWarbfp1\fR" 4
.IX Item "arbfp1"
Targets the ARB_fragment_program OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ARB_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWARB_draw_buffers\fR" 4
.IX Item "-po ARB_draw_buffers"
Use the ARB_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).  This is the default
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ATI_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWATI_draw_buffers\fR" 4
.IX Item "-po ATI_draw_buffers"
Use the ATI_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxDrawBuffers=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxDrawBuffers=\fR\fIN\fR" 4
.IX Item "-po MaxDrawBuffers=N"
Set the maximum number of renderbuffer targets.  Default is 1
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxTexIndirections=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxTexIndirections=\fR\fIN\fR" 4
.IX Item "-po MaxTexIndirections=N"
Sets the maximum number of texture indirections allowed in the output program.  Default is infinite
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 1024
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumMathInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumMathInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumMathInstructionSlots=N"
Sets the maximum number of non-texture instructions in the output program.  Default is 1024
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of \s-1TEMP\s0 registers in the output program.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTexInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTexInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumTexInstructionSlots=N"
Sets the maximum number of texture instructions in the output program.  Default is 1024
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""arbvp1""""\fR" 4
.if !n .Ip "\f(CWarbvp1\fR" 4
.IX Item "arbvp1"
Targets the ARB_vertex_program OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxAddressRegs=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxAddressRegs=\fR\fIN\fR" 4
.IX Item "-po MaxAddressRegs=N"
Sets the maximum number of \s-1ADDRESS\s0 registers in the output program.  Default is 1
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxInstructions=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxInstructions=\fR\fIN\fR" 4
.IX Item "-po MaxInstructions=N"
Sets the maximum number of instructions in the output program.  Default is 1024
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 96
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of \s-1TEMP\s0 registers in the output program.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""PosInv""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPosInv\fR" 4
.IX Item "-po PosInv"
Generate position invariant code (same as fixed-function) for \s-1POSITION\s0 output
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""dx8ps""""\fR" 4
.if !n .Ip "\f(CWdx8ps\fR" 4
.IX Item "dx8ps"
Targets DirectX8 pixel programs (ps 1.1)
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxPixelShaderValue=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxPixelShaderValue=\fR\fIN\fR" 4
.IX Item "-po MaxPixelShaderValue=N"
Maximum absolute value representable in a pixel shader.  Default is 1.
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""dx8vs""""\fR" 4
.if !n .Ip "\f(CWdx8vs\fR" 4
.IX Item "dx8vs"
Targets DirectX8 vertex programs (vs 1.1)
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""dcls""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWdcls\fR" 4
.IX Item "-po dcls"
Output dx9\-style dcls statements
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 96
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 128
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""dx9ps2""""\fR" 4
.if !n .Ip "\f(CWdx9ps2\fR" 4
.IX Item "dx9ps2"
Targets DirectX9 pixel programs (ps 2.0)
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxDrawBuffers=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxDrawBuffers=\fR\fIN\fR" 4
.IX Item "-po MaxDrawBuffers=N"
Set the maximum number of renderbuffer targets.  Default is 1
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 96
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""dxvs2""""\fR" 4
.if !n .Ip "\f(CWdxvs2\fR" 4
.IX Item "dxvs2"
Targets DirectX9 vertex programs (ps 2.0)
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""dcls""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWdcls\fR" 4
.IX Item "-po dcls"
Output dx9\-style dcls statements
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""fp20""""\fR" 4
.if !n .Ip "\f(CWfp20\fR" 4
.IX Item "fp20"
Targets the NV_register_combiners2 and NV_texture_shader OpenGL extensions
.if n .Ip "\f(CW""""fp30""""\fR" 4
.if !n .Ip "\f(CWfp30\fR" 4
.IX Item "fp30"
Targets the NV_fragment_program OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 32
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""fp30unlimited""""\fR" 4
.if !n .Ip "\f(CWfp30unlimited\fR" 4
.IX Item "fp30unlimited"
Same as \f(CW\*(C`fp30\*(C'\fR with various hardware limits on registers and instructions lifted
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 4194304
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 512
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""fp40""""\fR" 4
.if !n .Ip "\f(CWfp40\fR" 4
.IX Item "fp40"
Targets the NV_fragment_program2 OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""appleKilWAR""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWappleKilWAR\fR" 4
.IX Item "-po appleKilWAR"
Work around various bugs with \s-1KIL\s0 instructions in the OSX-tiger implementation of NV_fragment_program2
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ARB_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWARB_draw_buffers\fR" 4
.IX Item "-po ARB_draw_buffers"
Use the ARB_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).  This is the default
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ATI_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWATI_draw_buffers\fR" 4
.IX Item "-po ATI_draw_buffers"
Use the ATI_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 1024
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 4096
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of \s-1TEMP\s0 registers in the output program.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""OutColorPrec=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWOutColorPrec=\fR\fIN\fR" 4
.IX Item "-po OutColorPrec=N"
If \fIN\fR is 3 or 4, force output to fp16 precision.  If \fIN\fR is 2, force output to fp32 precision.
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""fp40unlimited""""\fR" 4
.if !n .Ip "\f(CWfp40unlimited\fR" 4
.IX Item "fp40unlimited"
Same as \f(CW\*(C`fp40\*(C'\fR with various hardware limits on registers and instructions lifted
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""appleKilWAR""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWappleKilWAR\fR" 4
.IX Item "-po appleKilWAR"
Work around various bugs with \s-1KIL\s0 instructions in the OSX-tiger implementation of NV_fragment_program2
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ARB_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWARB_draw_buffers\fR" 4
.IX Item "-po ARB_draw_buffers"
Use the ARB_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).  This is the default
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ATI_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWATI_draw_buffers\fR" 4
.IX Item "-po ATI_draw_buffers"
Use the ATI_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 1024
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 4194304
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of \s-1TEMP\s0 registers in the output program.  Default is 512
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""OutColorPrec=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWOutColorPrec=\fR\fIN\fR" 4
.IX Item "-po OutColorPrec=N"
If \fIN\fR is 3 or 4, force output to fp16 precision.  If \fIN\fR is 2, force output to fp32 precision.
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""generic""""\fR" 4
.if !n .Ip "\f(CWgeneric\fR" 4
.IX Item "generic"
Produces a dump of the program in a non-executable format
.if n .Ip "\f(CW""""glslf""""\fR \f(CW""""glslv""""\fR" 4
.if !n .Ip "\f(CWglslf\fR \f(CWglslv\fR" 4
.IX Item "glslf glslv"
Targets the OpenGL Shading language (\s-1GLSL\s0) v1.10.
\&\f(CW\*(C`glslf\*(C'\fR targets fragment programs while \f(CW\*(C`glslv\*(C'\fR targets vertex programs
.if n .Ip "\f(CW""""gp4fp""""\fR \f(CW""""gpu_fp""""\fR" 4
.if !n .Ip "\f(CWgp4fp\fR \f(CWgpu_fp\fR" 4
.IX Item "gp4fp gpu_fp"
Targets the NV_gpu_program4 and NV_fragment_program4 OpenGL extensions.
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ARB_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWARB_draw_buffers\fR" 4
.IX Item "-po ARB_draw_buffers"
Use the ARB_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).  This is the default
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""ATI_draw_buffers""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWATI_draw_buffers\fR" 4
.IX Item "-po ATI_draw_buffers"
Use the ATI_draw_buffers option for multiple renderbuffer targets (\s-1MRT\s0).
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""gp4gp""""\fR \f(CW""""gpu_gp""""\fR" 4
.if !n .Ip "\f(CWgp4gp\fR \f(CWgpu_gp\fR" 4
.IX Item "gp4gp gpu_gp"
Targets the NV_gpu_program4 and NV_geometry_program4 OpenGL extensions.
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""POINT""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPOINT\fR" 4
.IX Item "-po POINT"
.PD 0
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""LINE""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWLINE\fR" 4
.IX Item "-po LINE"
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""LINE_ADJ""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWLINE_ADJ\fR" 4
.IX Item "-po LINE_ADJ"
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""TRIANGLE""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWTRIANGLE\fR" 4
.IX Item "-po TRIANGLE"
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""TRIANGLE_ADJ""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWTRIANGLE_ADJ\fR" 4
.IX Item "-po TRIANGLE_ADJ"
.PD
Set the input primitive type for the geometry program
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""POINT_OUT""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPOINT_OUT\fR" 4
.IX Item "-po POINT_OUT"
.PD 0
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""LINE_OUT""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWLINE_OUT\fR" 4
.IX Item "-po LINE_OUT"
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""TRIANGLE_OUT""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWTRIANGLE_OUT\fR" 4
.IX Item "-po TRIANGLE_OUT"
.PD
Set the output primitive type for the geometry program
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""Vertices=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWVertices=\fR\fIN\fR" 4
.IX Item "-po Vertices=N"
Set the number of vertices output by the geometry program
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""gp4vp""""\fR \f(CW""""gpu_vp""""\fR" 4
.if !n .Ip "\f(CWgp4vp\fR \f(CWgpu_vp\fR" 4
.IX Item "gp4vp gpu_vp"
Targets the NV_gpu_program4 and NV_vertex_program4 OpenGL extensions.
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""PosInv""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPosInv\fR" 4
.IX Item "-po PosInv"
Generate position invariant code (same as fixed-function) for \s-1POSITION\s0 output
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""hlslf""""\fR \f(CW""""hlslv""""\fR" 4
.if !n .Ip "\f(CWhlslf\fR \f(CWhlslv\fR" 4
.IX Item "hlslf hlslv"
Targets Microsoft High-Level Shading Language (\s-1HLSL\s0).
\&\f(CW\*(C`hlslf\*(C'\fR targets pixel programs while \f(CW\*(C`hlslv\*(C'\fR targets vertex programs
.if n .Ip "\f(CW""""ps_1_1""""\fR \f(CW""""ps_1_2""""\fR \f(CW""""ps_1_3""""\fR" 4
.if !n .Ip "\f(CWps_1_1\fR \f(CWps_1_2\fR \f(CWps_1_3\fR" 4
.IX Item "ps_1_1 ps_1_2 ps_1_3"
Targets DirectX pixel programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxPixelShaderValue=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxPixelShaderValue=\fR\fIN\fR" 4
.IX Item "-po MaxPixelShaderValue=N"
Maximum absolute value representable in a pixel shader.  Default is 1.
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""ps_2_0""""\fR \f(CW""""ps_2_x""""\fR" 4
.if !n .Ip "\f(CWps_2_0\fR \f(CWps_2_x\fR" 4
.IX Item "ps_2_0 ps_2_x"
Targets DirectX pixel programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxDrawBuffers=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxDrawBuffers=\fR\fIN\fR" 4
.IX Item "-po MaxDrawBuffers=N"
Set the maximum number of renderbuffer targets.  Default is 1
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 96 or 512
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12 or 32
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""ps_3_0""""\fR" 4
.if !n .Ip "\f(CWps_3_0\fR" 4
.IX Item "ps_3_0"
Targets DirectX pixel programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxDrawBuffers=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxDrawBuffers=\fR\fIN\fR" 4
.IX Item "-po MaxDrawBuffers=N"
Set the maximum number of renderbuffer targets.  Default is 1
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 224
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 32768
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""OutColorPrec=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWOutColorPrec=\fR\fIN\fR" 4
.IX Item "-po OutColorPrec=N"
If \fIN\fR is 3 or 4, force output to fp16 precision.  If \fIN\fR is 2, force output to fp32 precision.
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vp20""""\fR" 4
.if !n .Ip "\f(CWvp20\fR" 4
.IX Item "vp20"
Targets the NV_vertex_program OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 96
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""PosInv""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPosInv\fR" 4
.IX Item "-po PosInv"
Generate position invariant code (same as fixed-function) for \s-1POSITION\s0 output
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vp30""""\fR" 4
.if !n .Ip "\f(CWvp30\fR" 4
.IX Item "vp30"
Targets the NV_vertex_program2 OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""PosInv""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPosInv\fR" 4
.IX Item "-po PosInv"
Generate position invariant code (same as fixed-function) for \s-1POSITION\s0 output
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vp40""""\fR" 4
.if !n .Ip "\f(CWvp40\fR" 4
.IX Item "vp40"
Targets the NV_vertex_program3 OpenGL extension
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxAddressRegs=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxAddressRegs=\fR\fIN\fR" 4
.IX Item "-po MaxAddressRegs=N"
Sets the maximum number of \s-1ADDRESS\s0 registers in the output program.  Default is 2
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxInstructions=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxInstructions=\fR\fIN\fR" 4
.IX Item "-po MaxInstructions=N"
Sets the maximum number of instructions in the output program.  Default is 2048
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of \s-1TEMP\s0 registers in the output program.  Default is 32
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""PosInv""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWPosInv\fR" 4
.IX Item "-po PosInv"
Generate position invariant code (same as fixed-function) for \s-1POSITION\s0 output
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vs_1_1""""\fR" 4
.if !n .Ip "\f(CWvs_1_1\fR" 4
.IX Item "vs_1_1"
Targets DirectX vertex programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""dcls""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWdcls\fR" 4
.IX Item "-po dcls"
Output dx9\-style dcls statements
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 96
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 128
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vs_2_0""""\fR \f(CW""""vs_2_x""""\fR" 4
.if !n .Ip "\f(CWvs_2_0\fR \f(CWvs_2_x\fR" 4
.IX Item "vs_2_0 vs_2_x"
Targets DirectX vertex programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""dcls""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWdcls\fR" 4
.IX Item "-po dcls"
Output dx9\-style dcls statements
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 12
.RE
.RS 4
.RE
.if n .Ip "\f(CW""""vs_3_0""""\fR" 4
.if !n .Ip "\f(CWvs_3_0\fR" 4
.IX Item "vs_3_0"
Targets DirectX vertex programs
.RS 4
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""dcls""""\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWdcls\fR" 4
.IX Item "-po dcls"
Output dx9\-style dcls statements
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""MaxLocalParams=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWMaxLocalParams=\fR\fIN\fR" 4
.IX Item "-po MaxLocalParams=N"
Set the maximum number of uniform parameter slots available.  Default is 256
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumInstructionSlots=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumInstructionSlots=\fR\fIN\fR" 4
.IX Item "-po NumInstructionSlots=N"
Sets the maximum number of instructions in the output program.  Default is 32768
.if n .Ip "\f(CW""""\-po""""\fR \f(CW""""NumTemps=""""\fR\fIN\fR" 4
.if !n .Ip "\f(CW\-po\fR \f(CWNumTemps=\fR\fIN\fR" 4
.IX Item "-po NumTemps=N"
Sets the maximum number of temporaries in the output program.  Default is 32
.RE
.RS 4
.RE
.SH "ENVIRONMENT"
.IX Header "ENVIRONMENT"
.SH "SEE ALSO"
.IX Header "SEE ALSO"
Cg_language, arbfp1, arbvp1, fp20, fp30, fp40, glslf, glslv, gp4fp, gp4gp, gp4vp, hlslf, hlslv, vp20, vp30, vp40
