diff --git a/docs/envvars.rst b/docs/envvars.rst index a5b4ec33526..6e6be37b4ab 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -992,9 +992,6 @@ Softpipe driver environment variables ``use_llvm`` the Softpipe driver will try to use LLVM JIT for vertex shading processing. - ``use_tgsi`` - if set, the Softpipe driver will ask to directly consume TGSI, instead - of NIR. LLVMpipe driver environment variables ------------------------------------- diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 74ff914a01f..c3c0dba7399 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -55,7 +55,6 @@ static const struct debug_named_value sp_debug_options[] = { {"cs", SP_DBG_CS, "dump compute shader assembly to stderr"}, {"no_rast", SP_DBG_NO_RAST, "no-ops rasterization, for profiling purposes"}, {"use_llvm", SP_DBG_USE_LLVM, "Use LLVM if available for shaders"}, - {"use_tgsi", SP_DBG_USE_TGSI, "Request TGSI from the API instead of NIR"}, DEBUG_NAMED_VALUE_END }; @@ -328,7 +327,7 @@ softpipe_get_shader_param(struct pipe_screen *screen, switch (param) { case PIPE_SHADER_CAP_PREFERRED_IR: - return (sp_debug & SP_DBG_USE_TGSI) ? PIPE_SHADER_IR_TGSI : PIPE_SHADER_IR_NIR; + return PIPE_SHADER_IR_NIR; case PIPE_SHADER_CAP_SUPPORTED_IRS: return (1 << PIPE_SHADER_IR_NIR) | (1 << PIPE_SHADER_IR_TGSI); default: diff --git a/src/gallium/drivers/softpipe/sp_screen.h b/src/gallium/drivers/softpipe/sp_screen.h index 755ba00eee9..969fa378ecf 100644 --- a/src/gallium/drivers/softpipe/sp_screen.h +++ b/src/gallium/drivers/softpipe/sp_screen.h @@ -64,7 +64,6 @@ enum sp_debug_flag { SP_DBG_CS = BITFIELD_BIT(5), SP_DBG_USE_LLVM = BITFIELD_BIT(6), SP_DBG_NO_RAST = BITFIELD_BIT(7), - SP_DBG_USE_TGSI = BITFIELD_BIT(8), }; extern int sp_debug;