On 12.04.2013 21:14, Kenneth Graunke wrote:
This provides an interface for applications (and OpenGL-based tools) to
access GPU performance counters. Since the exact performance counters
available vary between vendors and hardware generations, the extension
provides an API the application can
From: Christoph Bumiller christoph.bumil...@speed.at
This is the only sane solution for nv50 and nvc0 (really, trust me),
but since on other hardware the border colour is tightly coupled with
texture state they'd have to undo the swizzle, so I've added a cap.
The name of the cap could be changed
Implements the min() OpenCL built-in in 2 stages.
1) Implement min() where the two argument types match
2) Make changes to support min(vec,scalar)
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
This doesn't handle the integer cases for min(vector, scalar).
---
generic/include/clc/clc.h |1 +
generic/include/clc/shared/min.h |5 +
generic/include/clc/shared/min.inc |1 +
generic/lib/SOURCES|1 +
generic/lib/shared/min.cl | 11
Checks if the current GENTYPE is scalar, and if not, then defines a separate
implementation of the function which casts the second arg to vector before
proceeding.
---
generic/include/clc/integer/gentype.inc | 23 +++
generic/include/clc/math/gentype.inc|8
For any GENTYPE that isn't scalar, we need to implement a mixed
vector/scalar version of clamp/max.
This depends on the min() patches I sent to the list a few minutes ago.
---
generic/include/clc/shared/clamp.inc |4
generic/include/clc/shared/max.inc |4
On Sat, Apr 13, 2013 at 4:23 AM, Vadim Girlin vadimgir...@gmail.com wrote:
On 04/12/2013 11:36 PM, Martin Andersson wrote:
I have made some progress with this issue.
Vadim, I did as you suggested and tried to mimic the output from the
shader analyser
tool. I used your patch as a base and
On 12.04.2013 21:14, Kenneth Graunke wrote:
This provides an interface for applications (and OpenGL-based tools) to
access GPU performance counters. Since the exact performance counters
available vary between vendors and hardware generations, the extension
provides an API the application can
PIPE_CAP_TEXTURE_SWIZZLE_AFFECTS_BORDER_COLOR would be a better name (note
the meaning is inverted). Other than that, this looks good.
Marek
On Sat, Apr 13, 2013 at 4:31 PM, Christoph Bumiller
e0425...@student.tuwien.ac.at wrote:
From: Christoph Bumiller christoph.bumil...@speed.at
This is