radv: take unsafe_math and sisched into account when hashing shaders.
authorDave Airlie <airlied@redhat.com>
Thu, 12 Oct 2017 04:10:53 +0000 (05:10 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Oct 2017 22:46:55 +0000 (23:46 +0100)
commitfb972ed4e51f7570210b523264e927a378265a2a
tree6925dcf08ea8f30b6e933e781f239674a753a3f9
parent26f1ba94a384718e0e5974c10d4f758459ef0b10
radv: take unsafe_math and sisched into account when hashing shaders.

We want to generate different variants for sisched and unsafe_math
shader variants, so add them to the hash key.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_pipeline_cache.c
src/amd/vulkan/radv_private.h