This loads in the <min_lod, max_lod, lod_bias> settings for a given sampler, which is necessary for lowering clamps/biases on certain Midgard chips. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>master
| @@ -847,6 +847,10 @@ store("raw_output_pan", 1, []) | |||
| load("raw_output_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER]) | |||
| load("output_u8_as_fp16_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER]) | |||
| # Loads the sampler paramaters <min_lod, max_lod, lod_bias> | |||
| # src[] = { sampler_index } | |||
| load("sampler_lod_parameters_pan", 1, [CAN_ELIMINATE, CAN_REORDER]) | |||
| # V3D-specific instrinc for tile buffer color reads. | |||
| # | |||
| # The hardware requires that we read the samples and components of a pixel | |||