Re: [Mesa-dev] [PATCH v2 26/82] glsl: Don't do copy propagation on buffer variables

2015-06-24 Thread Iago Toral
On Tue, 2015-06-23 at 15:45 -0700, Jordan Justen wrote: > On 2015-06-22 23:38:14, Iago Toral wrote: > > On Mon, 2015-06-22 at 14:28 -0700, Jordan Justen wrote: > > > 24-26 once again makes me wonder if these optimization *can* be used > > > with SSBOs based on the same ext spec wording I referenced

Re: [Mesa-dev] [PATCH v2 26/82] glsl: Don't do copy propagation on buffer variables

2015-06-23 Thread Jordan Justen
On 2015-06-22 23:38:14, Iago Toral wrote: > On Mon, 2015-06-22 at 14:28 -0700, Jordan Justen wrote: > > 24-26 once again makes me wonder if these optimization *can* be used > > with SSBOs based on the same ext spec wording I referenced before: > > > > "The ability to write to buffer objects create

Re: [Mesa-dev] [PATCH v2 26/82] glsl: Don't do copy propagation on buffer variables

2015-06-22 Thread Iago Toral
On Mon, 2015-06-22 at 14:28 -0700, Jordan Justen wrote: > 24-26 once again makes me wonder if these optimization *can* be used > with SSBOs based on the same ext spec wording I referenced before: > > "The ability to write to buffer objects creates the potential for > multiple independent shader i

Re: [Mesa-dev] [PATCH v2 26/82] glsl: Don't do copy propagation on buffer variables

2015-06-22 Thread Jordan Justen
24-26 once again makes me wonder if these optimization *can* be used with SSBOs based on the same ext spec wording I referenced before: "The ability to write to buffer objects creates the potential for multiple independent shader invocations to read and write the same underlying memory. The same

[Mesa-dev] [PATCH v2 26/82] glsl: Don't do copy propagation on buffer variables

2015-06-03 Thread Iago Toral Quiroga
Since the backing storage for these is shared we cannot ensure that the value won't change by writes from other threads. --- src/glsl/opt_copy_propagation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/opt_copy_propagation.cpp b/src/glsl/opt_copy_propagation.cpp