mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
nir: Add load_sampler_lod_paramaters_pan intrinsic
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>
This commit is contained in:
parent
b1156ecdf2
commit
deaebc82a7
1 changed files with 4 additions and 0 deletions
|
|
@ -847,6 +847,10 @@ store("raw_output_pan", 1, [])
|
||||||
load("raw_output_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER])
|
load("raw_output_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER])
|
||||||
load("output_u8_as_fp16_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.
|
# V3D-specific instrinc for tile buffer color reads.
|
||||||
#
|
#
|
||||||
# The hardware requires that we read the samples and components of a pixel
|
# The hardware requires that we read the samples and components of a pixel
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue