)]}' { "commit": "77090261dabcf44c7b5a0f97bdf35e812a13a66a", "tree": "5d1902549d41f9aa6862aae542e46e565c311b46", "parents": [ "67f052b460d9aa4962e4e5cded86a679dc91aa75" ], "author": { "name": "Nicolas Capens", "email": "capn@google.com", "time": "Thu Mar 19 00:26:21 2020 -0400" }, "committer": { "name": "Nicolas Capens", "email": "nicolascapens@google.com", "time": "Wed Mar 25 19:37:10 2020 +0000" }, "message": "Identify image views based on their state\n\nIt is typical for apps to have many image views (and buffer views) with\nthe same parameters. This change avoids generating new sampling routines\nfor image views with identical state.\n\nThe vk::Identifier class compresses the state into a 32-bit value that\nis used as part of the key for the sampling routine cache.\n\nBug: b/151235334\nChange-Id: I00fc19a91639803273d0f7d6b9fed9fc5b481898\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/42388\nPresubmit-Ready: Nicolas Capens \u003cnicolascapens@google.com\u003e\nReviewed-by: Alexis Hétu \u003csugoi@google.com\u003e\nReviewed-by: Chris Forbes \u003cchrisforbes@google.com\u003e\nKokoro-Presubmit: kokoro \u003cnoreply+kokoro@google.com\u003e\nTested-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "a8b49a0714c9ebf164adf43c849d98ca35bf0596", "old_mode": 33188, "old_path": "src/Vulkan/VkBufferView.cpp", "new_id": "3e048f1078f08016022cd95ea6408e06dd1f8336", "new_mode": 33188, "new_path": "src/Vulkan/VkBufferView.cpp" }, { "type": "modify", "old_id": "98b68cce1b907b5501cc85b1cbfa7b3acfcc9909", "old_mode": 33188, "old_path": "src/Vulkan/VkBufferView.hpp", "new_id": "aa13fb5c72183e05a29daa4d0559601ba7bf81b6", "new_mode": 33188, "new_path": "src/Vulkan/VkBufferView.hpp" }, { "type": "modify", "old_id": "fc0c8bd5fe96c04685e6f2d7f0d5ed1f5d27c588", "old_mode": 33188, "old_path": "src/Vulkan/VkImageView.cpp", "new_id": "d9fbaf627fb7ad6a69c0784f572491f003429365", "new_mode": 33188, "new_path": "src/Vulkan/VkImageView.cpp" }, { "type": "modify", "old_id": "65dca48c9b80a2075eafa97aca2ef377445d02f4", "old_mode": 33188, "old_path": "src/Vulkan/VkImageView.hpp", "new_id": "08ed4af286ca0c3727d6f85aa7ebce91f2959192", "new_mode": 33188, "new_path": "src/Vulkan/VkImageView.hpp" } ] }