Base it on the active language version
Signed-off-by: Aaron Watry
---
src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp
The device version is the maximum CL version that the device supports.
Eventually, this will query the pipe_driver itself, but for now move it
a bit closer to its eventual destination.
Signed-off-by: Aaron Watry
---
src/gallium/state_trackers/clover/api/device.cpp | 4 ++--
We'll be using it to select the default language version soon.
Signed-off-by: Aaron Watry
---
src/gallium/state_trackers/clover/core/program.cpp| 6 --
src/gallium/state_trackers/clover/llvm/invocation.cpp | 6 +-
According to section 5.8.4.5 of the 2.0 spec, the CL C version is chosen by:
1) If you have -cl-std=CL1.1+ use the version specified
2) If not, use the highest 1.x version that the device supports
Curiously, there is no valid value for -cl-std=CL1.0
Signed-off-by: Aaron Watry
Fixes: OpenCL CTS test/conformance/buffers/buffer_copy
Signed-off-by: Aaron Watry
CC: Francisco Jerez
---
src/gallium/state_trackers/clover/core/memory.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The first patch is one I've been sitting on for a few weeks while
I've tried to chase down other issues with clover/llvm/libclc. It
fixes at least one CTS test that I know of for CL 1.2.
The other 4 patches move the device version declaration to core/device
and then use that along with the
Hi Christoph,
Can you provide an apitrace of the test that crashes?
Thanks.
-Charmaine
From: mesa-dev on behalf of Christoph
Haag
Sent: Friday, July 21, 2017 4:52:41 PM
To:
---
src/intel/vulkan/anv_blorp.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index 1492802..eca7a7e 100644
--- a/src/intel/vulkan/anv_blorp.c
+++ b/src/intel/vulkan/anv_blorp.c
@@
We have a very specific row pitch that we want and we don't want ISL to
be changing it on us so just be explicit about it.
---
src/intel/vulkan/anv_blorp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index
On Thursday, 2017-07-20 22:16:36 +, Tim Rowley wrote:
> ---
> .travis.yml | 32
> 1 file changed, 32 insertions(+)
>
> diff --git a/.travis.yml b/.travis.yml
> index 246ad30eff..da491e0396 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -82,6 +82,38 @@
On Fri, Jul 21, 2017 at 03:56:05PM -0700, Jason Ekstrand wrote:
> On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote:
>
> > Image layouts only let us know that an image *may* be fast-cleared. For
> > this reason we can end up with redundant resolves. Testing has shown
> >
This patch breaks steam for me. Segfault backtrace:
#0 0x0023 in ?? ()
No symbol table info available.
#1 0xf6b1a417 in _mesa_hash_table_search (ht=0x585bb7e8, key=0x5820ee88) at
hash_table.c:246
__PRETTY_FUNCTION__ = "_mesa_hash_table_search"
#2 0xf6a4488e in
On Fri, Jul 21, 2017 at 03:43:20PM -0700, Jason Ekstrand wrote:
> On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote:
>
> > The lifespan of the fast-clear data will surpass the render pass scope.
> > We need CCS_D to be enabled in order to invalidate blocks previously
> >
From: Matt Turner
Write-combine mappings give much better performance on writes than
uncached access through the GTT.
Improves performance of GFXBench 4's gl_driver2 benchmark at 1024x768
on Apollolake by 3.6086% +/- 0.674193% (n=15).
v2: (by Ken) Rebase on lockless
The non-LLC story was a horror show. We uploaded data via pwrite
(drm_intel_bo_subdata), which would stall if the cache BO was in
use (being read) by the GPU. Obviously, we wanted to avoid that.
So, we tried to detect whether the buffer was busy, and if so, we'd
allocate a new BO, map the old
Chris Wilson pointed out that this mapping really is persistant.
Shouldn't actually have any effect today, but best to set it anyway.
---
src/mesa/drivers/dri/i965/brw_program_cache.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
With the advent of asynchronous maps, domain tracking doesn't make a
whole lot of sense. Buffers can be in use on both the CPU and GPU at
the same time. In order to avoid blocking, we stopped using set_domain
for asynchronous mappings, which means that the kernel's tracking has
lies. We can't
Using a read-only mapping is completely bogus - we use this mapping to
write all new shaders to the cache.
---
src/mesa/drivers/dri/i965/brw_program_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_program_cache.c
If the buffer is idle, we I915_GEM_WAIT will return immediately,
so we may as well skip the ioctl altogether. We can't trust the
"idle" flag for external buffers, but for most, it should be fine.
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 4
1 file changed, 4 insertions(+)
diff --git
Suggested by Chris Wilson.
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c
b/src/mesa/drivers/dri/i965/brw_bufmgr.c
index 1669d26e990..78a4626d430 100644
---
On Fri, Jul 21, 2017 at 1:50 PM, Pohjolainen, Topi <
topi.pohjolai...@gmail.com> wrote:
> On Wed, Jul 19, 2017 at 02:01:50PM -0700, Jason Ekstrand wrote:
> > This will be a bit more convenient momentarily. It's also more correct
> > because it makes prepare_texture take sRGB into account.
> >
On Wed, Jul 19, 2017 at 2:28 PM, Nanley Chery wrote:
> On Wed, Jul 19, 2017 at 02:21:52PM -0700, Nanley Chery wrote:
> > In this revision:
> > * review feedback is incorporated.
> > * a couple of bugs caught by a new dEQP version are fixed:
> > - image data could be lost
From: Dave Airlie
When I ported from libdrm, I forgot to add the line to reset
the sem, we just need to reset the context.
This fixes a regression in DOOM.
Fixes: 9ac1432a571 "radv: port to new libdrm API."
Reported-by: Grazvydas Ignotas
Signed-off-by:
On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote:
> Image layouts only let us know that an image *may* be fast-cleared. For
> this reason we can end up with redundant resolves. Testing has shown
> that such resolves can measurably hurt performance and that predicating
>
On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote:
> The lifespan of the fast-clear data will surpass the render pass scope.
> We need CCS_D to be enabled in order to invalidate blocks previously
> marked as cleared and to sample cleared data correctly.
>
> v2: Avoid
---
src/gallium/auxiliary/util/u_blitter.c| 15 ---
src/gallium/auxiliary/util/u_inlines.h| 2 +-
src/gallium/auxiliary/util/u_simple_shaders.c | 15 ---
src/gallium/auxiliary/util/u_simple_shaders.h | 13 +++--
4 files changed, 24 insertions(+),
On Wed, Jul 19, 2017 at 2:21 PM, Nanley Chery wrote:
> Cc:
> Suggested-by: Jason Ekstrand
> Signed-off-by: Nanley Chery
> ---
> src/intel/vulkan/anv_blorp.c | 8
>
On Sat, Jul 22, 2017 at 12:01:19AM +0300, Pohjolainen, Topi wrote:
> On Wed, Jul 19, 2017 at 02:01:51PM -0700, Jason Ekstrand wrote:
> > This commit replaces the generic "flags" parameter with a more explicit
> > aux usage parameter. This leads to a lot of duplicated code at the
> > moment but
On Wed, Jul 19, 2017 at 02:01:51PM -0700, Jason Ekstrand wrote:
> This commit replaces the generic "flags" parameter with a more explicit
> aux usage parameter. This leads to a lot of duplicated code at the
> moment but this will all get cleaned up directly.
> ---
>
Quoting Kenneth Graunke (2017-07-12 08:22:23)
> From: Chris Wilson
> +static void *
> brw_bo_map_gtt(struct brw_context *brw, struct brw_bo *bo, unsigned flags)
> {
> struct brw_bufmgr *bufmgr = bo->bufmgr;
> @@ -824,10 +831,30 @@ brw_bo_map(struct brw_context
On Wed, Jul 19, 2017 at 02:01:50PM -0700, Jason Ekstrand wrote:
> This will be a bit more convenient momentarily. It's also more correct
> because it makes prepare_texture take sRGB into account.
> ---
> src/mesa/drivers/dri/i965/brw_draw.c | 7 ++-
>
Quoting Kenneth Graunke (2017-07-18 06:14:53)
> If the buffer is idle, we I915_GEM_WAIT will return immediately,
> so we may as well skip the ioctl altogether. We can't trust the
> "idle" flag for external buffers, but for most, it should be fine.
> ---
> src/mesa/drivers/dri/i965/brw_bufmgr.c |
Quoting Kenneth Graunke (2017-07-18 06:14:52)
> With the advent of asynchronous maps, domain tracking doesn't make a
> whole lot of sense. Buffers can be in use on both the CPU and GPU at
> the same time. In order to avoid blocking, we stopped using set_domain
> for asynchronous mappings, which
On Fri, Jul 21, 2017 at 1:13 PM, Pohjolainen, Topi <
topi.pohjolai...@gmail.com> wrote:
> On Wed, Jul 19, 2017 at 02:01:47PM -0700, Jason Ekstrand wrote:
> > ---
> > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 11 ++-
> > 1 file changed, 6 insertions(+), 5 deletions(-)
> >
> > diff
On Fri, Jul 21, 2017 at 12:51 PM, Pohjolainen, Topi <
topi.pohjolai...@gmail.com> wrote:
> On Wed, Jul 19, 2017 at 02:01:46PM -0700, Jason Ekstrand wrote:
> > ---
> > src/intel/isl/isl.h | 88
> ---
> >
Reviewed-by: Bruce Cherniak
> On Jul 21, 2017, at 2:17 PM, Tim Rowley wrote:
>
> Linux-specific gettid() syscall shouldn't be used in portable code.
> Fix does assume a 1:1 thread:LWP architecture, but works for our
> current target
Reviewed-by: Bruce Cherniak
> On Jul 21, 2017, at 11:46 AM, Tim Rowley wrote:
>
> Linux-specific gettid() syscall shouldn't be used in portable code.
> Fix does assume a 1:1 thread:LWP architecture, but works for our
> current target
Reviewed-by: Bruce Cherniak
> On Jul 20, 2017, at 5:09 PM, Tim Rowley wrote:
>
> Tested with clang-4.0 and gcc-6.3.
> ---
> .../swr/rasterizer/common/simdlib_512_avx512.inl | 43 +-
>
On Wed, Jul 19, 2017 at 02:01:47PM -0700, Jason Ekstrand wrote:
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 11 ++-
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
>
Reviewed-by: Bruce Cherniak
> On Jul 20, 2017, at 5:09 PM, Tim Rowley wrote:
>
> Source/destination will not be AVX512 aligned, use the
> unaligned load/store intrinsics.
> ---
> .../drivers/swr/rasterizer/common/simdlib_128_avx512.inl
Reviewed-by: Bruce Cherniak
> On Jul 20, 2017, at 5:09 PM, Tim Rowley wrote:
>
> Prevents unalignment crashes with avx512 code on gcc/clang.
> ---
> src/gallium/drivers/swr/rasterizer/core/tilemgr.cpp | 6 +++---
> 1 file changed, 3
Reviewed-by: Tim Rowley
> On Jul 21, 2017, at 1:05 PM, Emil Velikov wrote:
>
> From: Emil Velikov
>
> The variable name was missing a leading LD_, which resulted in the
> backend binaries having unresolved
Reviewed-by: Tim Rowley
> On Jul 21, 2017, at 1:05 PM, Emil Velikov wrote:
>
> From: Emil Velikov
>
> Seems like the backends have been using pthreads since day one, yet
> we've been missing the link.
>
> With
On Wed, Jul 19, 2017 at 02:01:46PM -0700, Jason Ekstrand wrote:
> ---
> src/intel/isl/isl.h | 88
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 11
> 2 files changed, 64 insertions(+), 35 deletions(-)
>
> diff --git
Reviewed-by: Tim Rowley
> On Jul 21, 2017, at 1:05 PM, Emil Velikov wrote:
>
> From: Emil Velikov
>
> Analogous to previous commit but for the KNL/SKX backends.
>
> Cc: Bruce Cherniak
On 07/21/2017 12:31 PM, srol...@vmware.com wrote:
From: Roland Scheidegger
We had some caller using LLVMAddInstrAttributes, which couldn't be
converted to lp_add_function_attr, because attributes were only handled
for functions in this case, so fix this.
For llvm >= 4.0,
On Fri, Jul 21, 2017 at 12:27 PM, Chris Wilson
wrote:
> Quoting Jason Ekstrand (2017-07-21 20:11:27)
> > + if (surf_info->usage & ISL_SURF_USAGE_BLIT_BIT) {
> > + /* According to the Ivy Bridge PRM, Vol1 Part4, section 1.2.1.2
> > + * (Graphics Data Size
On Fri, Jul 21, 2017 at 11:29 AM, Pohjolainen, Topi <
topi.pohjolai...@gmail.com> wrote:
> On Fri, Jul 21, 2017 at 11:09:47AM -0700, Jason Ekstrand wrote:
> > s/Aling/Align/
> >
> > On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> > topi.pohjolai...@gmail.com> wrote:
> >
> > > in order to
Quoting Jason Ekstrand (2017-07-21 20:11:27)
> + if (surf_info->usage & ISL_SURF_USAGE_BLIT_BIT) {
> + /* According to the Ivy Bridge PRM, Vol1 Part4, section 1.2.1.2
> + * (Graphics Data Size Limitations):
> + *
> + *The BLT engine is capable of transferring very
On Fri, Jul 21, 2017 at 12:22:48PM -0700, Jason Ekstrand wrote:
> On Fri, Jul 21, 2017 at 11:23 AM, Pohjolainen, Topi <
> topi.pohjolai...@gmail.com> wrote:
>
> > On Fri, Jul 21, 2017 at 10:54:34AM -0700, Jason Ekstrand wrote:
> > > On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> > >
On Fri, Jul 21, 2017 at 11:23 AM, Pohjolainen, Topi <
topi.pohjolai...@gmail.com> wrote:
> On Fri, Jul 21, 2017 at 10:54:34AM -0700, Jason Ekstrand wrote:
> > On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> > topi.pohjolai...@gmail.com> wrote:
> >
> > > See brw_miptree_choose_tiling().
> >
Linux-specific gettid() syscall shouldn't be used in portable code.
Fix does assume a 1:1 thread:LWP architecture, but works for our
current target platforms and can be revisited later if needed.
Fixes unresolved symbol in linux scons builds.
v2: add comment in code about the 1:1 assumption.
On Fri, Jul 21, 2017 at 11:43:16AM -0700, Jason Ekstrand wrote:
> On Fri, Jul 21, 2017 at 8:01 AM, Topi Pohjolainen <
> topi.pohjolai...@gmail.com> wrote:
>
> > Signed-off-by: Topi Pohjolainen
> > ---
> > src/mesa/drivers/dri/i965/Makefile.sources | 1 -
> >
---
src/intel/isl/isl.c | 42 +++---
src/intel/isl/isl.h | 1 +
src/intel/isl/isl_gen4.c | 5 +
3 files changed, 45 insertions(+), 3 deletions(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 7d1356f..26310bf 100644
---
11-15 are
Reviewed-by: Jason Ekstrand
On Fri, Jul 21, 2017 at 8:01 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 10 +-
>
On 07/21, aravindan.muthuku...@intel.com wrote:
From: Aravindan Muthukumar
This patch improves CPI Rate(Cycles per Instruction) and branch miss predict
for i965. The function check_state() was showing CPI retired rate.
Performance stats with android:
- CPI
From: Roland Scheidegger
We had some caller using LLVMAddInstrAttributes, which couldn't be
converted to lp_add_function_attr, because attributes were only handled
for functions in this case, so fix this.
For llvm >= 4.0, this already works correctly.
(radeonsi seems to avoid
On Fri, Jul 21, 2017 at 11:09:47AM -0700, Jason Ekstrand wrote:
> s/Aling/Align/
>
> On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> topi.pohjolai...@gmail.com> wrote:
>
> > in order to support blit engine.
> >
> > Signed-off-by: Topi Pohjolainen
> > ---
> >
On Fri, Jul 21, 2017 at 10:47:34AM -0700, Jason Ekstrand wrote:
> On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> topi.pohjolai...@gmail.com> wrote:
>
> > Signed-off-by: Topi Pohjolainen
> > ---
> > src/intel/isl/isl.c | 6 --
> > 1 file changed, 4
On Fri, Jul 21, 2017 at 10:54:34AM -0700, Jason Ekstrand wrote:
> On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
> topi.pohjolai...@gmail.com> wrote:
>
> > See brw_miptree_choose_tiling().
> >
> > Signed-off-by: Topi Pohjolainen
> > ---
> >
Reviewed-by: Jason Ekstrand
Cc stable?
On Fri, Jul 21, 2017 at 8:01 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> Otherwise init_teximage_fields_ms() (called by
> _mesa_init_teximage_fields()) will always assert as it can't
> find valid base format.
>
>
6-9 are
Reviewed-by: Jason Ekstrand
On Fri, Jul 21, 2017 at 8:01 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> There is the same constraintg later on as assert in
> isl_gen7_choose_image_alignment_el() so catch it earlier in order
> to return error instead
Reviewed-by: Jason Ekstrand
On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 6 +-
> 1 file changed, 5
On 21 July 2017 at 17:46, Tim Rowley wrote:
> Linux-specific gettid() syscall shouldn't be used in portable code.
> Fix does assume a 1:1 thread:LWP architecture, but works for our
> current target platforms and can be revisited later if needed.
>
I'm not familiar with
s/Aling/Align/
On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> in order to support blit engine.
>
> Signed-off-by: Topi Pohjolainen
> ---
> src/intel/isl/isl.c | 16 +++-
> 1 file changed, 15 insertions(+), 1
From: Emil Velikov
Seems like the backends have been using pthreads since day one, yet
we've been missing the link.
With later commit we'll fix a typo, hence the libraries will be build
with -Wl,no-undefined, aka failing the build on unresolved symbols.
v2: Split
From: Emil Velikov
Analogous to previous commit but for the KNL/SKX backends.
Cc: Bruce Cherniak
Cc: Tim Rowley
Cc: Laurent Carlier
Fixes: 1cb5a6061ce ("configure/swr: add KNL and SKX
From: Emil Velikov
The variable name was missing a leading LD_, which resulted in the
backend binaries having unresolved symbols.
With the link addressed with earlier patches, we can correct the typo.
Thanks to Laurent for the help spotting this.
v2: Split from a
On 20 July 2017 at 06:09, Jason Ekstrand wrote:
> On Mon, Jul 17, 2017 at 7:54 AM, Emil Velikov
> wrote:
>>
>> On 16 July 2017 at 06:35, Jason Ekstrand wrote:
>> > n Fri, Jul 7, 2017 at 11:07 AM, Emil Velikov
On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> See brw_miptree_choose_tiling().
>
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 36
> +++
> 1 file changed,
And call buffer_data_error() from _mesa_buffer_data().
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/bufferobj.c | 112 ++
1 file changed, 64 insertions(+), 48 deletions(-)
diff --git a/src/mesa/main/bufferobj.c
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/shaderapi.c | 34 +++---
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index ae5647b4c0..941419b6f1 100644
---
On Fri, Jul 21, 2017 at 8:00 AM, Topi Pohjolainen <
topi.pohjolai...@gmail.com> wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/intel/isl/isl.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/isl/isl.c
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/samplerobj.c | 28 +---
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c
index d182ee03c0..aae2a6bbbf 100644
---
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/buffers.c | 16
src/mesa/main/buffers.h | 3 +++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/condrender.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/condrender.c b/src/mesa/main/condrender.c
index 24a7f4b694..051cd8f962 100644
---
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/condrender.c | 121 -
1 file changed, 66 insertions(+), 55 deletions(-)
diff --git a/src/mesa/main/condrender.c b/src/mesa/main/condrender.c
index 2ea2c8821d..95d6d6ad5f
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/shaderapi.c | 18 ++
src/mesa/main/shaderapi.h | 3 +++
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/ARB_direct_state_access.xml | 6 +--
src/mesa/main/teximage.c | 52 ++
src/mesa/main/teximage.h | 16
3 files changed, 71 insertions(+),
There is already get_shader_source(), and shader_source() will
be used for adding KHR_no_error support.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/shaderapi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/shaderapi.c
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/shaderapi.c | 9 +
src/mesa/main/shaderapi.h | 4
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
And call link_program_error() from _mesa_link_program().
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/shaderapi.c | 46 +-
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/src/mesa/main/shaderapi.c
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/texobj.c| 8
src/mesa/main/texobj.h| 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/GL3x.xml | 2 +-
src/mesa/main/condrender.c | 8
src/mesa/main/condrender.h | 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/GL3x.xml
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/GL3x.xml | 2 +-
src/mesa/main/condrender.c | 8
src/mesa/main/condrender.h | 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/GL3x.xml
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/points.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index 2d62e73c12..012fac5b3c 100644
--- a/src/mesa/main/points.c
+++
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/lines.c | 8
src/mesa/main/lines.h | 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/multisample.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c
index f8b117f143..037c8a6a15 100644
---
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/points.c| 8
src/mesa/main/points.h| 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 4 ++--
src/mesa/main/shaderapi.c | 23 +++
src/mesa/main/shaderapi.h | 6 ++
3 files changed, 31 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/lines.c | 25 -
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index d83a7d88d1..6586bb6ebf 100644
--- a/src/mesa/main/lines.c
+++
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +-
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/bufferobj.c | 30 ++
src/mesa/main/bufferobj.h
And make detach_shader() always inline.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/shaderapi.c | 30 +-
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +-
src/mesa/main/arrayobj.c | 8
src/mesa/main/arrayobj.h | 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/bufferobj.c | 8
src/mesa/main/bufferobj.h | 3 +++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
And make draw_buffer() always inline.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/buffers.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 6359e1b51f..a37b39cf52
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/arrayobj.c | 59 +++-
1 file changed, 38 insertions(+), 21 deletions(-)
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index f0a3f7b1fd..2ce49c7c8c 100644
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/bufferobj.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 419972e371..a3b871f0ad 100644
---
And make draw_buffers() always inline.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/buffers.c | 223 ++--
1 file changed, 119 insertions(+), 104 deletions(-)
diff --git a/src/mesa/main/buffers.c
And make texturesubimage() always inline.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/teximage.c | 75 +---
1 file changed, 45 insertions(+), 30 deletions(-)
diff --git a/src/mesa/main/teximage.c
1 - 100 of 271 matches
Mail list logo