TESTSHADE(1)

πŸ“¦
version 1.15.4.0 Β· 4 versions
, in fedora 44

πŸ’– TESTSHADE πŸ’–

okay bestie, this is the manual page for testshade from the User Commands crew β€” she's the Open Shading Language test girlie and she's here to run your shaders πŸ’…


✨ NAME ✨

testshade β€” Test Open Shading Language πŸ¦‹


🌸 SYNOPSIS 🌸

testshade [options] shader...

πŸŽ€ DESCRIPTION πŸŽ€

testshade β€” Test Open Shading Language. Copyright Contributors to the Open Shading Language project. 🫢

Like, that's the whole vibe. She tests OSL. She's iconic for it.

πŸ‘‘ the options (there are SO many, she ate) πŸ‘‘

  • --help β€” Print help message πŸ“–
  • -v β€” Verbose messages. she will NOT stop talking
  • -t NTHREADS β€” Set thread count (default = 0: auto-detect #cores). zero means she counts your cores herself, main character energy fr fr
  • --optix β€” Use OptiX if available
  • --debug β€” Lots of debugging info
  • --debug2 β€” Even more debugging info. yes bestie, more than "lots" πŸ’€
  • --llvm_debug β€” Turn on LLVM debugging info
  • --runstats β€” Print run statistics
  • --batched β€” Submit batches to ShadingSystem
  • --vary_pdxdy β€” populate Dx(P) & Dy(P) with varying values (vs. uniform)
  • --vary_udxdy β€” populate Dx(u) & Dy(u) with varying values (vs. uniform)
  • --vary_vdxdy β€” populate Dx(v) & Dy(v) with varying values (vs. uniform)
  • --profile β€” Print profile information
  • --saveptx β€” Save the generated PTX (OptiX mode only)
  • --warmup β€” Perform a warmup launch. stretching before the gym fr
  • --res XRES YRES β€” Set resolution
  • --options LIST β€” Set extra OSL options
  • --texoptions LIST β€” Set extra TextureSystem options
  • --colorspace NAME β€” Set ShadingSysem colorspace (yes that spelling is hers, we don't touch it πŸ’–)
  • -o VARIABLE FILENAME β€” Specify an output (filename='null' means don't save)
  • -d NAME β€” Set the output data format to one of: uint8, half, float
  • --print β€” Print values of all -o outputs to console instead of saving images
  • --groupname %s β€” Set shader group name
  • --layer NAME β€” Set next layer name
  • --param NAME VALUE β€” Add a parameter (options: type=%s, interpolated=%d)
  • --shader SHADER LAYERNAME β€” Declare a shader node
  • --connect FROMLAYER FROMOUTPUT TOLAYER TOINPUT β€” Connect two shader layers
  • --reparam LAYERNAME PARAMNAME VALUE β€” Change a parameter (options: type=%s)
  • --group CMD β€” Specify a full group command
  • --archivegroup FILENAME β€” Archive the group to a given filename
  • --raytype %s β€” Set the raytype
  • --raytype_opt β€” Specify ray type mask for optimization
  • --iters ITERS β€” Number of iterations
  • -O0 β€” Do no runtime shader optimization. she's resting 😴
  • -O1 β€” Do a little runtime shader optimization
  • -O2 β€” Do lots of runtime shader optimization. go big or go home πŸ”₯
  • --llvm_opt LEVEL β€” LLVM JIT optimization level
  • --optix_no_inline β€” Disable function inlining when compiling for OptiX
  • --optix_no_inline_layer_funcs β€” Disable inlining the group layer functions when compiling for OptiX
  • --optix_no_merge_layer_funcs β€” Disable merging group layer functions with only one caller when compiling for OptiX
  • --optix_no_inline_rend_lib β€” Disable inlining the rend_lib functions when compiling for OptiX
  • --optix_no_rend_lib_bitcode β€” Don't pass LLVM bitcode for the rend_lib functions to the ShadingSystem
  • --optix_no_inline_thresh THRESH β€” Don't inline functions larger than the threshold when compiling for OptiX
  • --optix_force_inline_thresh THRESH β€” Force inline functions smaller than the threshold when compiling for OptiX
  • --optix_register_inline_funcs β€” Register functions that should or should not be inlined during LLVM optimization
  • --entry LAYERNAME β€” Add layer to the list of entry points
  • --entryoutput NAME β€” Add output symbol to the list of entry points
  • --center β€” Shade at output pixel 'centers' rather than corners
  • --debugnan β€” Turn on 'debug_nan' mode
  • --debuguninit β€” Turn on 'debug_uninit' mode
  • --groupoutputs β€” Specify group outputs, not global outputs
  • --oslquery β€” Test OSLQuery at runtime
  • --print-groupdata β€” Print groupdata size to stdout
  • --inbuffer β€” Compile osl source from and to jbuffer
  • --no-output-placement β€” Turn off use of output placement, rely only on get_symbol
  • --shadeimage β€” Use shade_image utility
  • --noshadeimage β€” Don't use shade_image utility
  • --expr EXPR β€” Specify an OSL expression to evaluate
  • --offsetuv UOFFSET VOFFSET β€” Offset s & t texture coordinates (default: 0 0)
  • --scaleuv USCALE VSCALE β€” Scale s & t texture lookups (default: 1, 1)
  • --userdata NAME VALUE β€” Add userdata (options: type=%s)
  • --userdata_isconnected β€” Consider interpolated=1 to be isconnected()
  • --locale NAME β€” Set a different locale
  • --use_rs_bitcode β€” Use free function bitcode Renderer services
  • --jbufferMB JBUFFER β€” journal jbuffer size in MB

🫢 a lil note from me to you: this page is literally just a big list of flags, no bugs, no exit statuses, no SEE ALSO. sometimes the manual is just vibes and options. and that's okay bestie πŸ’œ

and that's the whole page, no cap. this one's testshade version 1.15.4.0, dated May 2026, served fresh from the User Commands section of your local man pages. go run some shaders, you got this πŸŒˆβœ¨πŸ’–

πŸ“¦ where this page comes from