[Mesa-dev] [PATCH] i965/fs: Default all constants to a location of -1

Kenneth Graunke kenneth at whitecape.org
Tue May 10 22:36:12 UTC 2016


On Tuesday, May 10, 2016 1:54:58 PM PDT Jason Ekstrand wrote:
> Otherwise constants which aren't live get an undefined constant location.
> When we go to set up param and pull_param we end up assigning all unused
> uniforms to slot 0.  This cases the Vulkan driver to segfault because it
> doesn't have pull_param.
> 
> This fixes bugs in the Vulkan driver introduced in c3fab3d000.
> ---
>  src/mesa/drivers/dri/i965/brw_fs.cpp | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160510/235dd456/attachment.sig>


More information about the mesa-dev mailing list