From dc8bffe9994eec574064829fde8a65d06b8045dd Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 25 May 2020 12:45:13 -0400 Subject: [PATCH] nir: Remove nir_intrinsic_output_u8_as_fp16_pan Now unused in favour of nir_intrinsic_load_output, happily. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir_intrinsics.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 8fb9eef1584..340fc3e4c74 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -872,17 +872,11 @@ intrinsic("bindless_resource_ir3", [1], dest_comp=1, indices=[DESC_SET], flags=[ # One notable divergence is sRGB, which is asymmetric: raw_input_pan requires # an sRGB->linear conversion, but linear values should be written to # raw_output_pan and the hardware handles linear->sRGB. -# -# We also have format-specific Midgard intrinsics. There are rather -# here-be-dragons. load_output_u8_as_fp16_pan does the equivalent of -# load_raw_out_pan on an RGBA8 UNORM framebuffer followed by u2u16 -> fp16 -> -# division by 255. # src[] = { value } store("raw_output_pan", 1, []) store("zs_output_pan", 1, [COMPONENT]) load("raw_output_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER]) -load("output_u8_as_fp16_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER]) # Loads the sampler paramaters # src[] = { sampler_index } -- 2.30.2