mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-01 13:00:30 +01:00
intel/dev: details CPS feature support
DG2 introduces per primitive coarse pixel settings (in stages preceding the PS shader) and also a control surface specifying the rate at through the resulting surface. v2: update comment (Caio) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13739>
This commit is contained in:
parent
8bdbc93a9d
commit
8d90fe587f
2 changed files with 8 additions and 1 deletions
|
|
@ -1059,7 +1059,8 @@ static const struct intel_device_info intel_device_info_sg1 = {
|
|||
XEHP_FEATURES(0, 1, 0), \
|
||||
.num_subslices = dual_subslices(1), \
|
||||
.has_lsc = true, \
|
||||
.apply_hwconfig = true
|
||||
.apply_hwconfig = true, \
|
||||
.has_coarse_pixel_primitive_and_cb = true
|
||||
|
||||
UNUSED static const struct intel_device_info intel_device_info_dg2_g10 = {
|
||||
DG2_FEATURES,
|
||||
|
|
|
|||
|
|
@ -146,6 +146,12 @@ struct intel_device_info
|
|||
*/
|
||||
bool has_negative_rhw_bug;
|
||||
|
||||
/**
|
||||
* Whether this platform supports fragment shading rate controlled by a
|
||||
* primitive in geometry shaders and by a control buffer.
|
||||
*/
|
||||
bool has_coarse_pixel_primitive_and_cb;
|
||||
|
||||
/**
|
||||
* Some versions of Gen hardware don't do centroid interpolation correctly
|
||||
* on unlit pixels, causing incorrect values for derivatives near triangle
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue