OSDN Git Service

radeonsi: fix shader disk cache key
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 4 Nov 2019 14:04:20 +0000 (15:04 +0100)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 11 Nov 2019 19:44:26 +0000 (11:44 -0800)
commit01f6321c0934cf517f6aead9368e3b4c7ae1f69c
treedfe49ad6cdee4e5ce9697e70d5f90405608ee730
parent15342abc5bac5e11e28be05148ae5dca18020e79
radeonsi: fix shader disk cache key

Use unsigned values otherwise signed extension will produce a 64 bits value where
the 32 left-most bits are 1.

Fixes: 307e5cc8fd7 ("radeonsi: tell the shader disk cache what IR is used")
src/gallium/drivers/radeonsi/si_pipe.c