diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-11 07:01:56 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-11 09:40:47 -0700 |
commit | 7a36c72f5d9eda6c9e3b17a52b2a2ee94cb27039 (patch) | |
tree | 4338eb632feca1a42847aa9e6fd34c8a274ca598 /src/panfrost/include/panfrost-job.h | |
parent | a7153ebcd30fb8713bca9277140c8279e5d6b834 (diff) |
pan/decode: Depth units/factor are identical to GL
I'm not sure why I thoughtt here was an off-by-one, other than maybe bad
data collection.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/include/panfrost-job.h')
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 0c559309946..0fbe0a2fa10 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -551,11 +551,7 @@ struct mali_shader_meta { } midgard1; }; - /* On bifrost: Exactly the same as glPolygonOffset() for both. - * On midgard: Depth factor is exactly as passed to glPolygonOffset. - * Depth units is equal to the value passed to glDeptOhffset + 1.0f - * (use MALI_NEGATIVE) - */ + /* Same as glPolygoOffset() arguments */ float depth_units; float depth_factor; |