TESTSHADE(1)
π 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β populateDx(P)&Dy(P)with varying values (vs. uniform)--vary_udxdyβ populateDx(u)&Dy(u)with varying values (vs. uniform)--vary_vdxdyβ populateDx(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-ooutputs 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 therend_libfunctions when compiling for OptiX--optix_no_rend_lib_bitcodeβ Don't pass LLVM bitcode for therend_libfunctions 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 onget_symbol--shadeimageβ Useshade_imageutility--noshadeimageβ Don't useshade_imageutility--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β Considerinterpolated=1to beisconnected()--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
- fedora 44: openshadinglanguage 1.15.4.0-1.fc44 Β· BSD-3-Clause AND Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND CC-BY-4.0 AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms