[Mesa-dev] [PATCH 1/4] nir/builder: Add a nir_imm_floatN_t helper

2018-03-21 Thread Neil Roberts
This lets you easily build float immediates just given the bit size. If we have this single place here to handle this then it will be easier to add support for 16-bit floats later. --- src/compiler/nir/nir_builder.h | 13 + 1 file changed, 13 insertions(+) diff --git a/src/compiler/ni

Re: [Mesa-dev] [PATCH 1/4] nir/builder: Add a nir_imm_floatN_t helper

2018-04-17 Thread Jason Ekstrand
On Wed, Mar 21, 2018 at 12:34 PM, Neil Roberts wrote: > This lets you easily build float immediates just given the bit size. > If we have this single place here to handle this then it will be > easier to add support for 16-bit floats later. > --- > src/compiler/nir/nir_builder.h | 13 +++