summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorPavel Ondračka <pavel.ondracka@gmail.com>2024-04-09 21:15:13 +0200
committerMarge Bot <emma+marge@anholt.net>2024-04-13 09:49:38 +0000
commitb1c98ffd9e5c72e7e2e3622e04273fcccf392afb (patch)
tree9b862c9d7cc530368ec1232ecdb030486ee49f40 /src/gallium/drivers/r300/r300_state.c
parent2de9142f9ff375aff19a17b972972d911977ddff (diff)
r300: move lower_fabb option out of the options struct
It is the last one, we don't need an extra struct for it... Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28663>
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 65860f65144..8161e858023 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -1922,9 +1922,7 @@ static void* r300_create_vs_state(struct pipe_context* pipe,
if (vs->state.type == PIPE_SHADER_IR_NIR) {
static const struct nir_to_rc_options swtcl_options = {0};
- static const struct nir_to_rc_options hwtcl_r300_options = {
- .lower_fabs = true,
- };
+ static const struct nir_to_rc_options hwtcl_r300_options = {0};
static const struct nir_to_rc_options hwtcl_r500_options = {0};
const struct nir_to_rc_options *ntr_options;
if (r300->screen->caps.has_tcl) {