Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:BehzadA:XOrg_Exp
Mesa
ttn_add_missing_opcode_TG4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ttn_add_missing_opcode_TG4.patch of Package Mesa
From 2788f91da0d542166c325d6402108bc8cd8ed3b2 Mon Sep 17 00:00:00 2001 From: Steven Newbury <steve@snewbury.org.uk> Date: Tue, 12 Apr 2022 12:46:49 +0200 Subject: [PATCH] ttn: add missing opcode TG4 Patch is based on snippet from Steven Newbury, see https://github.com/iXit/wine-nine-standalone/issues/110 --- src/gallium/auxiliary/nir/tgsi_to_nir.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 0aa045e09b60..239ea9fb7b03 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -1380,6 +1380,11 @@ ttn_tex(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src) op = nir_texop_lod; num_srcs = 1; break; + case TGSI_OPCODE_TG4: + op = nir_texop_tg4; + num_srcs = 1; + samp = 2; + break; default: fprintf(stderr, "unknown TGSI tex op %d\n", tgsi_inst->Instruction.Opcode); -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor