diff options
author | Dave Airlie <[email protected]> | 2019-11-20 09:23:46 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-11-22 04:37:41 +1000 |
commit | e3b21dfcb118ec097fb48b5c1415c9d2e87beade (patch) | |
tree | a987074d3fb5116154f06e0c642ebc3f18df8fe6 /src | |
parent | d0d96053e6b7ce8bf2335ab3efb3e6d68eedcf28 (diff) |
nouveau: request ufind_msb64 lowering in the frontend.
This passes the piglit CL builtin-ulong-clz-1.0.generated.cl
test.
Acked-by: Jason Ekstrand <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index cb3c5548427..c7779c26548 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -972,7 +972,7 @@ static const nir_shader_compiler_options nir_options = { .use_interpolated_input_intrinsics = true, .lower_mul_2x32_64 = true, // TODO .max_unroll_iterations = 32, - .lower_int64_options = nir_lower_divmod64, // TODO + .lower_int64_options = nir_lower_ufind_msb64|nir_lower_divmod64, // TODO .lower_doubles_options = nir_lower_dmod, // TODO .lower_to_scalar = true, }; |