Re: [Mesa-dev] [PATCH] intel/fs: Fix memory corruption when compiling a CS

2019-02-01 Thread Kenneth Graunke
On Saturday, January 26, 2019 7:47:42 AM PST Oscar Blumberg wrote: > Missing check for shader stage in the fs_visitor would corrupt the > cs_prog_data.push information and trigger crashes / corruption later > when uploading the CS state. > --- > src/intel/compiler/brw_fs_nir.cpp | 5 +++-- > 1 fil

[Mesa-dev] [PATCH] intel/fs: Fix memory corruption when compiling a CS

2019-01-26 Thread Oscar Blumberg
Missing check for shader stage in the fs_visitor would corrupt the cs_prog_data.push information and trigger crashes / corruption later when uploading the CS state. --- src/intel/compiler/brw_fs_nir.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/brw