From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 95190] Tomb Raider with PostProcessing enable and
Depth of Field set to Ultra has white stuff in the foreground
Date: Thu, 28 Apr 2016 22:17:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1583765778=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1583765778==
Content-Type: multipart/alternative; boundary="14618818600.bacF.17284";
charset="UTF-8"
--14618818600.bacF.17284
Date: Thu, 28 Apr 2016 22:17:40 +0000
MIME-Version: 1.0
Content-Type: text/plain
https://bugs.freedesktop.org/show_bug.cgi?id=95190
Samuel Pitoiset changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
Component|Drivers/DRI/nouveau |glsl-compiler
CC| |kenneth-xkhwgxqQjnbNLxjTenLetw@public.gmane.org,
| |samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |idr-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
|rg |
QA Contact|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |intel-3d-bugs-PD4FTy7X32mqWrfYKbYh0A@public.gmane.org
|rg |ktop.org
--- Comment #4 from Samuel Pitoiset ---
So, the issue is that the count_uniforms_size pass which is used to calculate
the storage requirements for a set of uniform has a bug for constant arrays.
The problem is that the pass aggregates the size of a constant array each time
it finds a reference in the shader source.
For example, in the attached shader, the lowering pass returns 95484k of
uniforms but it should be 1308k (327*4) (+ some other things). The 95484 is
computed as follow: 327 * 4 * 73 (number of occurences of icb in the shader).
I had a look at the code, and I think that the correct solution should be to do
this lowering pass only once for constant arrays (this will require to somehow
remember which one has been lowered though).
Ken, can you look into this?
Thanks in advance.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
--14618818600.bacF.17284
Date: Thu, 28 Apr 2016 22:17:40 +0000
MIME-Version: 1.0
Content-Type: text/html
Samuel Pitoiset
changed
bug 95190
| What |
Removed |
Added |
| Severity |
normal
|
major
|
| Component |
Drivers/DRI/nouveau
|
glsl-compiler
|
| CC |
|
kenneth@whitecape.org, samuel.pitoiset@gmail.com
|
| Assignee |
nouveau@lists.freedesktop.org
|
idr@freedesktop.org
|
| QA Contact |
nouveau@lists.freedesktop.org
|
intel-3d-bugs@lists.freedesktop.org
|
Comment # 4
on bug 95190
from Samuel Pitoiset
So, the issue is that the count_uniforms_size pass which is used to calculate
the storage requirements for a set of uniform has a bug for constant arrays.
The problem is that the pass aggregates the size of a constant array each time
it finds a reference in the shader source.
For example, in the attached shader, the lowering pass returns 95484k of
uniforms but it should be 1308k (327*4) (+ some other things). The 95484 is
computed as follow: 327 * 4 * 73 (number of occurences of icb in the shader).
I had a look at the code, and I think that the correct solution should be to do
this lowering pass only once for constant arrays (this will require to somehow
remember which one has been lowered though).
Ken, can you look into this?
Thanks in advance.
You are receiving this mail because:
- You are the assignee for the bug.
- You are the QA Contact for the bug.
--14618818600.bacF.17284--
--===============1583765778==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============1583765778==--