i965/fs: Allocate the param_size array dynamically.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 14:36:48 +0000 (15:36 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 18:03:56 +0000 (19:03 +0100)
commit8928d7860a6b14ec57c3a600bc429e4563990ead
tree9e6ed7385d5b70c7ff1eea0a2fc7d8703c6c1691
parenteef710fc53113a5b3d6bbf7d9a20f63d7add7911
i965/fs: Allocate the param_size array dynamically.

Useful because the total number of uniform components might exceed
MAX_UNIFORMS * 4 in some cases because of the image metadata we'll be
passing as push constants.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp