intel/dev: remove pci revision from shader cache key
Pci revision was included in the shader cache key because it can enable platform workarounds. While some platform workarounds exist in the compiler, none are dependent on the silicon stepping. Many platforms differ only in the pci revision id, causing needless duplication in cache entries between platforms. When a platform ships publicly with stepping-specific compiler workarounds, pci id must be incorporated into the shader cache key. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28085>
This commit is contained in:
@@ -238,7 +238,7 @@ Struct("intel_device_info",
|
||||
|
||||
Member("int", "verx10", compiler_field=True),
|
||||
|
||||
Member("int", "revision", compiler_field=True,
|
||||
Member("int", "revision",
|
||||
comment=dedent("""\
|
||||
This revision is from ioctl (I915_PARAM_REVISION) unlike
|
||||
pci_revision_id from drm device. Its value is not always
|
||||
|
||||
Reference in New Issue
Block a user