intel/fs: Rename half() helpers to quarter(), allow index up to 3.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 3 Apr 2020 20:04:43 +0000 (13:04 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Apr 2020 06:00:29 +0000 (23:00 -0700)
commit6310a05f68ad6de50385246559dd4801b6ac925c
tree39ca1168522e7ebeb878b40fa2b8876fa37d20ac
parentbdad7f429a7df5dda2098042ecbc892e787da8ee
intel/fs: Rename half() helpers to quarter(), allow index up to 3.

Makes more sense considering SIMD32.  Relaxing the assertion in
brw_ir_fs.h will be required in order to avoid assertion failures on
SNB with SIMD32 fragment shaders.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_builder.h
src/intel/compiler/brw_fs_visitor.cpp
src/intel/compiler/brw_ir_fs.h