anv: Add layer with work-around for Doom 64 texture corruption
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7817 Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19502>
This commit is contained in:

committed by
Marge Bot

parent
28ee90bc7f
commit
c2acd9f76a
@@ -60,6 +60,7 @@
|
||||
#include "util/hash_table.h"
|
||||
#include "util/list.h"
|
||||
#include "util/perf/u_trace.h"
|
||||
#include "util/set.h"
|
||||
#include "util/sparse_array.h"
|
||||
#include "util/u_atomic.h"
|
||||
#include "util/u_vector.h"
|
||||
@@ -1202,6 +1203,13 @@ struct anv_device {
|
||||
struct anv_bo * workaround_bo;
|
||||
struct anv_address workaround_address;
|
||||
|
||||
/**
|
||||
* Workarounds for game bugs.
|
||||
*/
|
||||
struct {
|
||||
struct set * doom64_images;
|
||||
} workarounds;
|
||||
|
||||
struct anv_bo * trivial_batch_bo;
|
||||
struct anv_state null_surface_state;
|
||||
|
||||
|
Reference in New Issue
Block a user