intel/vec4: Set channel_sizes for MOV_INDIRECT sources
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 23 Mar 2018 16:27:55 +0000 (09:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 31 Mar 2018 00:20:27 +0000 (17:20 -0700)
commit2b977989f3f01c186677988494bbf9b7342b31f2
treea0626511f7b87c956ec7e9cee15a83ebca320413
parent6018f5b07966a0f85dea1ee6775d50a8c85fdee1
intel/vec4: Set channel_sizes for MOV_INDIRECT sources

Otherwise, any indirect push constant access results in an assertion
failure when we start digging through the channel_sizes array.  This
fixes dEQP-VK.pipeline.push_constant.graphics_pipeline.dynamic_index_vert
on Haswell.  It should be a harmless no-op for GL since indirect push
constants aren't used there.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Fixes: e69e5c7006d "i965/vec4: load dvec3/4 uniforms first in the..."
src/intel/compiler/brw_vec4.cpp