projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc8cdbb
)
dzn: Ensure sample-rate shading is factored into nir hash
author
Jesse Natalie
<jenatali@microsoft.com>
Tue, 2 May 2023 23:38:50 +0000
(16:38 -0700)
committer
Jesse Natalie
<jenatali@microsoft.com>
Tue, 2 May 2023 23:39:31 +0000
(16:39 -0700)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22810>
src/microsoft/vulkan/dzn_pipeline.c
patch
|
blob
|
history
diff --git
a/src/microsoft/vulkan/dzn_pipeline.c
b/src/microsoft/vulkan/dzn_pipeline.c
index
a03c0d2
..
b13d106
100644
(file)
--- a/
src/microsoft/vulkan/dzn_pipeline.c
+++ b/
src/microsoft/vulkan/dzn_pipeline.c
@@
-859,8
+859,10
@@
dzn_graphics_pipeline_compile_shaders(struct dzn_device *device,
if (cache) {
_mesa_sha1_init(&nir_hash_ctx);
- if (stage != MESA_SHADER_FRAGMENT)
+ if (stage != MESA_SHADER_FRAGMENT)
{
_mesa_sha1_update(&nir_hash_ctx, &lower_view_index, sizeof(lower_view_index));
+ _mesa_sha1_update(&nir_hash_ctx, &force_sample_rate_shading, sizeof(force_sample_rate_shading));
+ }
if (stage == MESA_SHADER_VERTEX)
_mesa_sha1_update(&nir_hash_ctx, attribs_hash, sizeof(attribs_hash));
if (stage == last_raster_stage) {