mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
softpipe: Drop the use_tgsi debug flag.
We lower to TGSI inside the driver just fine, no need to ask the frontend for it. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23114>
This commit is contained in:
parent
96a0f886a7
commit
f71762f54e
3 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
-------------------------------------
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue