TESTSHADE_DSO(1)
πΈ NAME πΈ
testshade_dso β Test Open Shading Language β¨
ok so quick vibe check: this is page TESTSHADE_DSO(1), it lives in the User Commands section of the manual, and it's about a program you actually call as testshade. bestie it is SO good. π«Ά
π SYNOPSIS π
testshade [options] shader...
like, you hand it some shaders, you hand it options, it does its thing. iconic behavior honestly. π
π DESCRIPTION π
testshade β Test Open Shading Language. Copyright Contributors to the Open Shading Language project. that's the official line and I'm keeping it, because credit where credit is due, no cap. π«‘
it's the test harness for Open Shading Language β you poke it, it shades stuff, and it tells you whether everything is slaying or not. and the flags?? so many flags. we love a configurable queen. let's go one by one, bestie, I got you:
--helpβ print the help message. first thing you type, always. π-vβ verbose messages, so it actually tells you what's going on instead of being mysterious.-t NTHREADSβ set the thread count. default =0, which means auto-detect #cores β it counts your cores for you, main character energy fr fr.--optixβ use OptiX if it's available. if it's not available, well. it's not available.--debugβ lots of debugging info.--debug2β even MORE debugging info. yes, more than "lots". we escalated. π₯--llvm_debugβ turn on LLVM debugging info.--runstatsβ print run statistics. numbers!! β¨--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. stretch first, bestie. π€Έ--res XRES YRESβ set resolution.--options LISTβ set extra OSL options.--texoptions LISTβ set extra TextureSystem options.--colorspace NAMEβ setShadingSysemcolorspace.-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. console girlies rise. π--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. matchmaking but for shaders. π₯°--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.-O1β do a little runtime shader optimization.-O2β do lots of runtime shader optimization.--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β 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.
that's the whole list, bestie. all of it. nothing skipped, because I would never do that to you. π«Ά
and that's the page!! testshade_dso 1.15.4.0, dated May 2026 β love that for us. go forth and shade, you gorgeous genius. π¦β¨π
π¦ 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