r300: get rid of the unused ubo_vec4_max ntr option

We now do the lowering in finalize_nir.

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28663>
This commit is contained in:
Pavel Ondračka
2024-04-09 20:55:53 +02:00
committed by Marge Bot
parent 26bb068935
commit 4735265187
2 changed files with 1 additions and 5 deletions
@@ -18,7 +18,6 @@ struct nir_to_rc_options {
/* Emit MAX(a,-a) instead of abs src modifier) */
bool lower_fabs;
bool lower_ssbo_bindings;
uint32_t ubo_vec4_max;
};
const void *nir_to_rc(struct nir_shader *s,
+1 -4
View File
@@ -1925,11 +1925,8 @@ static void* r300_create_vs_state(struct pipe_context* pipe,
static const struct nir_to_rc_options hwtcl_r300_options = {
.lower_cmp = true,
.lower_fabs = true,
.ubo_vec4_max = 0x00ff,
};
static const struct nir_to_rc_options hwtcl_r500_options = {
.ubo_vec4_max = 0x00ff,
};
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) {
if (r300->screen->caps.is_r500) {