+
+ if( (arg = csr_long_opt_arg( "multi-sample" )) )
+ {
+ if( !strcmp( arg, "none" ))
+ {
+ api.sampling_mode = k_EMSAA_none;
+ }
+ else if( !strcmp( arg, "rgss" ))
+ {
+ api.sampling_mode = k_EMSAA_RGSS;
+ }
+ else if( !strcmp( arg, "2x" ))
+ {
+ api.sampling_mode = k_EMSAA_2x2;
+ }
+ else if( !strcmp( arg, "8r" ))
+ {
+ api.sampling_mode = k_EMSAA_8R;
+ }
+ else
+ {
+ log_error( "Invalid sampling pattern '%s'\n", arg );
+ goto IL_CSR_EXIT;
+ }
+ }
+
+ if( (arg = csr_long_opt_arg( "extension" )) )
+ {
+ extension = arg;
+ }
+
+ if( (arg = csr_long_opt_arg( "min" )) )
+ api.min_z = atof( arg );
+ if( (arg = csr_long_opt_arg( "max" )) )
+ api.max_z = atof( arg );