Mesa (main): intel: reorder base program key.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jun 13 22:39:12 UTC 2021
Module: Mesa
Branch: main
Commit: 5f03570eaa8f56f9d6df5e974aa0af1086cf79f0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f03570eaa8f56f9d6df5e974aa0af1086cf79f0
Author: Dave Airlie <airlied at gmail.com>
Date: Wed Jun 2 12:24:37 2021 +1000
intel: reorder base program key.
This gets hashed a lot, this reduces the size of this, and the other
keys by a small amount
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11146>
---
src/intel/compiler/brw_compiler.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index afb3a615e9f..3009161fc3f 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -232,10 +232,8 @@ struct brw_base_prog_key {
unsigned program_string_id;
enum brw_subgroup_size_type subgroup_size_type;
-
- struct brw_sampler_prog_key_data tex;
-
bool robust_buffer_access;
+ struct brw_sampler_prog_key_data tex;
};
/**
More information about the mesa-commit
mailing list