You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
(cover letter https://patchwork.freedesktop.org/series/51006/)
FROMLIST: i965: SIMD32 heuristics debug flag
Added a new DEBUG_HEUR32 flag to INTEL_DEBUG flags for enabling SIMD32
selection heuristics.
(am from https://patchwork.freedesktop.org/patch/256764/)
FROMLIST: i965: SIMD32 heuristics control data
Added a new structure for holding SIMD32 heuristics control data. The
control data itself will be fetched from drirc.
(am from https://patchwork.freedesktop.org/patch/256806/)
FROMLIST: i965: SIMD32 heuristics control data from drirc
To be able to test the heuristics with different parameters, they can be
controlled via environment variables through drirc.
(am from https://patchwork.freedesktop.org/patch/256788/)
FROMLIST: mesa: Helper functions for counting set bits in a mask
(am from https://patchwork.freedesktop.org/patch/256765/)
FROMLIST: i965/fs: Save the instruction count of each dispatch width
The SIMD32 selection heuristics will use this information for deciding whether
SIMD32 shaders should be used.
(am from https://patchwork.freedesktop.org/patch/256793/)
FROMLIST: i965/fs: SIMD32 selection heuristic based on grouped texture fetches
The function goes through the compiled shader and checks how many grouped
texture fetches there are. This is a simple heuristic which gets rid of most
of the regressions when enabling SIMD32 shaders but still retains some of
the benefits.
(am from https://patchwork.freedesktop.org/patch/256798/)
FROMLIST: i965/fs: Enable all SIMD32 heuristics
There are three simple heuristics for SIMD32 shader enabling:
- How many MRTs does the shader write into?
- How many grouped texture fetches does the shader have?
- How many instructions does the SIMD32 shader have compared to the SIMD16
shader?
For testing purposes, the heuristics can be controlled via these environment
variables:
simd32_heuristic_mrt_check
- Enables MRT write check
- Default: true
simd32_heuristic_max_mrts
- How many MRT writes the heuristic allows
- Default: 1
simd32_heuristic_grouped_check
- Enables grouped texture fetch check
- Default: true
simd32_heuristic_grouped_sends
- How many grouped texture fetches the heuristic allows
- Default: 6
simd32_heuristic_inst_check
- Enables SIMD32 vs. SIMD16 instruction count check
- Default: true
simd32_heuristic_inst_ratio
- SIMD32 vs. SIMD16 instruction count ratio the heuristic allows
- Default: 2.3
SIMD32 shaders will not be compiled also when SIMD16 compilation fails or
spills.
(am from https://patchwork.freedesktop.org/patch/256766/)
0 commit comments