1 OPT_BOOL(inline_uniforms, true, "Optimize shaders by replacing uniforms with literals") 2 OPT_BOOL(aux_debug, false, "Generate ddebug_dumps for the auxiliary context") 3 OPT_BOOL(sync_compile, false, "Always compile synchronously (will cause stalls)") 4 OPT_BOOL(dump_shader_binary, false, "Dump shader binary as part of ddebug_dumps") 5 OPT_BOOL(debug_disassembly, false, 6 "Report shader disassembly as part of driver debug messages (for shader db)") 7 OPT_BOOL(halt_shaders, false, "Halt shaders at the start (will hang)") 8 OPT_BOOL(vs_fetch_always_opencode, false, 9 "Always open code vertex fetches (less efficient, purely for testing)") 10 OPT_BOOL(prim_restart_tri_strips_only, false, "Only enable primitive restart for triangle strips") 11 OPT_BOOL(no_infinite_interp, false, "Kill PS with infinite interp coeff") 12 OPT_BOOL(clamp_div_by_zero, false, "Clamp div by zero (x / 0 becomes FLT_MAX instead of NaN)") 13 OPT_BOOL(vrs2x2, false, "Enable 2x2 coarse shading for non-GUI elements") 14 OPT_BOOL(enable_sam, false, "Enable Smart Access Memory with Above 4G Decoding for unvalidated platforms.") 15 OPT_BOOL(disable_sam, false, "Disable Smart Access Memory.") 16 OPT_BOOL(fp16, false, "Enable FP16 for mediump.") 17 /* for Maya */ 18 OPT_INT(tc_max_cpu_storage_size, 2500, "Enable the CPU storage for pipelined buffer uploads in TC.") 19 /* for Creo and Snx */ 20 OPT_INT(max_vram_map_size, 8196, "Maximum size of a buffer in VRAM to map directly. Bigger buffers use staging uploads.") 21 OPT_BOOL(force_use_fma32, false, "Force use fma32 instruction for GPU family newer than gfx9") 22 OPT_BOOL(dcc_msaa, false, "Enable DCC for MSAA") 23 OPT_BOOL(mall_noalloc, false, "Don't use MALL (infinity cache)") 24 25 #undef OPT_BOOL 26 #undef OPT_INT 27