intel/fs: Add helper to get prog_offset and simd_size
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 21 May 2020 09:26:21 +0000 (02:26 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 28 May 2020 01:16:31 +0000 (18:16 -0700)
commitcb26d9c3119e089a0e0c6b0bf6cfc90193c70326
treef4c4328194c586abf3c87fc55c1385ff7095d95d
parent5b5e77caa7f0225aab3701de66b7434553c66033
intel/fs: Add helper to get prog_offset and simd_size

This indirection will be used by the variable group size case in a
later change.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5142>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp