Re: [Mesa-dev] [PATCH] gallium/dri-targets: hide all symbols except for __driDriverExtensions

2013-08-14 Thread Chia-I Wu
On Thu, Aug 15, 2013 at 1:26 PM, Chia-I Wu wrote: > On Sat, Aug 10, 2013 at 2:56 AM, Marek Olšák wrote: >> Most importantly, this hides all LLVM symbols. They shouldn't clash >> with a different LLVM version used by apps (at least in theory). >> >> $ nm -g --defined-only radeonsi_dri.so >> 01148f

Re: [Mesa-dev] [PATCH] gallium/dri-targets: hide all symbols except for __driDriverExtensions

2013-08-14 Thread Chia-I Wu
On Sat, Aug 10, 2013 at 2:56 AM, Marek Olšák wrote: > Most importantly, this hides all LLVM symbols. They shouldn't clash > with a different LLVM version used by apps (at least in theory). > > $ nm -g --defined-only radeonsi_dri.so > 01148f30 D __driDriverExtensions I am not familiar with issues r

Re: [Mesa-dev] Removing egl_glx?

2013-08-14 Thread Chia-I Wu
On Thu, Aug 15, 2013 at 10:03 AM, Kenneth Graunke wrote: > On 08/08/2013 03:13 PM, Chad Versace wrote: > [snip] >> >> By the way, I talked to krh today, and he suggested that we delete egl_glx >> rather than allow it to bitrot. > > > I'm in favor, but I don't know who uses that. > > GLX on EGL wou

[Mesa-dev] [PATCH 6/6] i965: Make the VS binding table as small as possible.

2013-08-14 Thread Kenneth Graunke
For some reason, we didn't use this information even though the VS backend has computed it (albeit poorly) for ages. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri

[Mesa-dev] [PATCH 5/6] i965/vs: Rework binding table size calculation.

2013-08-14 Thread Kenneth Graunke
Unlike the FS, the VS backend already computed the binding table size. However, it did so poorly: after compilation, it looked to see if any pull constants/textures/UBOs were in use, and set num_surfaces to the maximum surface index for that category. If the VS only used a single texture or UBO, t

[Mesa-dev] [PATCH 4/6] i965/vs: Plumb brw_vec4_prog_data into vec4_generator().

2013-08-14 Thread Kenneth Graunke
This will be useful for the next commit. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 +- src/mesa/drivers/dri/i965/brw_vec4.h| 3 +++ src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 3/6] i965/fs: Make the FS binding table as small as possible.

2013-08-14 Thread Kenneth Graunke
Computing the minimum size was easy, and done at compile-time for no extra overhead here. Making the binding table smaller wastes less batch space. Adding the CACHE_NEW_WM_PROG dirty bit isn't strictly necessary, since other atoms depend on it and flag BRW_NEW_SURFACES. However, it's best to add

[Mesa-dev] [PATCH 2/6] i965/fs: Track the maximum surface index used in brw_wm_prog_data.

2013-08-14 Thread Kenneth Graunke
This allows us to determine how small we can make the binding table. Since it depends entirely on the shader program, we can just compute it once at compile time, rather than at binding table emit time (which happens during drawing). Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/

[Mesa-dev] [PATCH 1/6] i965/fs: Use SURF_INDEX_DRAW() when emitting FB writes.

2013-08-14 Thread Kenneth Graunke
SURF_INDEX_DRAW is the identity function, and it's unlikely that it will change, but we may as well use it for documentation's sake. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/d

[Mesa-dev] [PATCH] radeonsi: add flexible shader descriptor management and use it for sampler views

2013-08-14 Thread Marek Olšák
(This should be applied before MSAA, which will need to be rebased.) It moves all sampler view descriptors to a buffer. It supports partial resource updates and it can also unbind resources (required for FMASK texturing). The buffer contains all sampler view descriptors for one shader stage, repr

[Mesa-dev] Removing egl_glx?

2013-08-14 Thread Kenneth Graunke
On 08/08/2013 03:13 PM, Chad Versace wrote: [snip] By the way, I talked to krh today, and he suggested that we delete egl_glx rather than allow it to bitrot. I'm in favor, but I don't know who uses that. GLX on EGL would be an interesting experiment. EGL on GLX is not useful, IMHO. --Ken _

[Mesa-dev] [PATCH 07/10] i965: Split the brw_samplers atom into separate FS/VS stages.

2013-08-14 Thread Kenneth Graunke
This allows us to avoid uploading the VS sampler state table if only the fragment program changes. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_state.h| 3 ++- src/mesa/drivers/dri/i965/brw_state_upload.c | 9 ++--- src/mesa/drivers/dri/i965/brw_wm_sampl

[Mesa-dev] [PATCH 05/10] i965: Make upload_sampler_state_table a virtual function.

2013-08-14 Thread Kenneth Graunke
This allows us to coalesce the brw_samplers and gen7_samplers atoms. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 6 ++ src/mesa/drivers/dri/i965/brw_state.h| 5 - src/mesa/drivers/dri/i965/brw_state_upload.c | 2 +- src/mesa/dr

[Mesa-dev] [PATCH 09/10] i965: Shorten sampler loops in precompile key setup.

2013-08-14 Thread Kenneth Graunke
Now that we have the number of samplers available, we don't need to iterate over all 16. This should be particularly helpful for vertex shaders. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- src/mesa/drivers/dri/i965/brw_vs.c | 2 +- 2 files changed, 2 insert

[Mesa-dev] [PATCH 06/10] i965: Upload separate VS and FS sampler state tables.

2013-08-14 Thread Kenneth Graunke
Now, each shader stage has a sampler state table that only refers to the samplers actually used by that problem. This should make the VS table non-existant or very small. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 1 + src/mesa/drivers/dri/i965/brw_wm

[Mesa-dev] [PATCH 08/10] i965: Make sampler counts available for the entire drawing operation.

2013-08-14 Thread Kenneth Graunke
Previously, we computed sampler counts when generating the SAMPLER_STATE table. By computing it earlier, we should be able to shorten a bunch of loops. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 2 +- src/mesa/drivers/dri/i965/brw_draw.c |

[Mesa-dev] [PATCH 10/10] i965: Shorten sampler loops in key setup.

2013-08-14 Thread Kenneth Graunke
Now that we have the number of samplers available, we don't need to iterate over all 16. This should be particularly helpful for vertex shaders. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_program.h | 1 + src/mesa/drivers/dri/i965/brw_vs.c | 3 ++- src/mesa/drivers/dr

[Mesa-dev] [PATCH 01/10] i965: Split sampler count variable to be per-stage.

2013-08-14 Thread Kenneth Graunke
Currently, we only have a single sampler state table shared among all stages, so we just copy wm.sampler_count into vs.sampler_count. In the future, each shader stage will have its own SAMPLER_STATE table, at which point we'll need these separate sampler counts. Signed-off-by: Kenneth Graunke --

[Mesa-dev] [PATCH 04/10] i965: Upload separate per-stage sampler state tables.

2013-08-14 Thread Kenneth Graunke
Also upload separate sampler default/texture border color entries. At the moment, this is completely idiotic: both tables contain exactly the same contents, so we're simply wasting batch space and CPU time. However, soon we'll only upload data for textures actually /used/ in a particular stage, w

[Mesa-dev] [PATCH 00/10] i965: Separate VS/FS sampler tables.

2013-08-14 Thread Kenneth Graunke
Currently, i965 uploads a single SAMPLER_STATE table shared across all shader stages (VS, FS). This series splits it out, uploading a unique table for each stage. I think this may actually fix some bugs with vertex texturing: Piglit's fragment-and-vertex-texturing uses two textures (unit 0 and un

[Mesa-dev] [PATCH 03/10] i965: Un-hardcode border color table from update_sampler_state().

2013-08-14 Thread Kenneth Graunke
Like the previous patch, this simply pushes direct access to brw->wm up one level in the call chain. Rather than passing the whole array, we just pass a pointer to the correct spot in the array, similar to what we do for the actual sampler state structure. Signed-off-by: Kenneth Graunke --- src

[Mesa-dev] [PATCH 02/10] i965: Un-hardcode border color table from upload_default_color.

2013-08-14 Thread Kenneth Graunke
When we begin uploading separate sampler state tables for VS and FS, we won't be able to use &brw->wm.sdc_offset[ss_index]. By passing it in as a parameter, we push the problem up to the caller. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_state.h| 3 ++- src/me

[Mesa-dev] [PATCH V3 3/3] i965/blorp: Add support for single sample scaled blit with bilinear filter

2013-08-14 Thread Anuj Phogat
Currently single sample scaled blits with GL_LINEAR filter falls back to meta path. Patch removes this limitation in BLORP engine and implements single sample scaled blit with bilinear filter. No piglit, gles3 regressions are observed with this patch on Ivybridge. V2: Use "sample" message to utili

Re: [Mesa-dev] [PATCH] meta: Fix blitting a framebuffer with renderbuffer attachment

2013-08-14 Thread Anuj Phogat
On Wed, Aug 14, 2013 at 1:46 PM, Paul Berry wrote: > On 5 August 2013 15:00, Anuj Phogat wrote: >> >> This patch fixes a case of framebuffer blitting with renderbuffer >> as color attachment and GL_LINEAR filter. Meta implementation of >> glBlitFrambuffer() converts source color buffer to a textu

[Mesa-dev] [PATCH] nouveau/video: use correct parameter name

2013-08-14 Thread Emil Velikov
Fix a typo introduced with commit d1ba1055d9 - vl: Add support for max level query v2 Cc: Rico Schüller Cc: Christian König Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68126 Signed-off-by: Emil Velikov --- FWIW the original patch could have introduced default params for all profiles

[Mesa-dev] [PATCH] i965: Dump more information about batch buffer usage.

2013-08-14 Thread Kenneth Graunke
Previously, INTEL_DEBUG=bat would dump messages like: intel_mipmap_tree.c:1643: Batchbuffer flush with 456b used This only reported the space used for command packets, and didn't report any information on the space used for indirect state. Now it dumps: intel_context.c:366: Batchbuffer flush wi

Re: [Mesa-dev] [PATCH] gallivm: do per-sample depth comparison instead of doing it post-filter

2013-08-14 Thread Roland Scheidegger
Am 15.08.2013 00:54, schrieb Zack Rusin: > > - lp_build_sample_compare(&bld, newcoords[4], texel_out); >> + if (0) >> + lp_build_sample_compare(&bld, newcoords[4], texel_out); >> } > > What does this do? > The rest looks good to me! > > Reviewed-by: Zack Rusin > Yeah t

Re: [Mesa-dev] [PATCH] gallivm: do per-sample depth comparison instead of doing it post-filter

2013-08-14 Thread Zack Rusin
> - lp_build_sample_compare(&bld, newcoords[4], texel_out); > + if (0) > + lp_build_sample_compare(&bld, newcoords[4], texel_out); > } What does this do? The rest looks good to me! Reviewed-by: Zack Rusin ___ mesa-dev mailing l

[Mesa-dev] [PATCH] gallivm: do per-sample depth comparison instead of doing it post-filter

2013-08-14 Thread sroland
From: Roland Scheidegger Doing the comparisons pre-filter is highly recommended by OpenGL (and d3d9) and definitely required by d3d10. This actually doesn't do it pre-filter but more "in-filter" as otherwise need to push the comparisons even further down into fetch code and this also trivially al

Re: [Mesa-dev] [PATCH V2 3/3] i965/blorp: Add support for single sample scaled blit with bilinear filter

2013-08-14 Thread Paul Berry
On 14 August 2013 11:46, Anuj Phogat wrote: > On Wed, Aug 14, 2013 at 10:25 AM, Paul Berry > wrote: > > On 9 August 2013 19:01, Anuj Phogat wrote: > >> - src.brw_surfaceformat = dst.brw_surfaceformat; > >> + if (src.num_samples > 1) > >> + src.brw_surfaceformat = dst.brw_surfaceformat;

Re: [Mesa-dev] [PATCH] meta: Fix blitting a framebuffer with renderbuffer attachment

2013-08-14 Thread Paul Berry
On 5 August 2013 15:00, Anuj Phogat wrote: > This patch fixes a case of framebuffer blitting with renderbuffer > as color attachment and GL_LINEAR filter. Meta implementation of > glBlitFrambuffer() converts source color buffer to a texture and > uses it to do the scaled blitting in to destinatio

Re: [Mesa-dev] [PATCH] gallivm: already pass coords in the right place in the sampler interface

2013-08-14 Thread Zack Rusin
I have to admit that I don't know the sampling code, but the patches look good to me. z - Original Message - > From: Roland Scheidegger > > This makes things a bit nicer, and more importantly it fixes an issue > where a "downgraded" array texture (due to view reduced to 1 layer and > a

[Mesa-dev] [PATCH 3/3] i965: Improve comments for driver hooks in intel_buffer_object.c.

2013-08-14 Thread Kenneth Graunke
Consistently using a "The ___ driver hook." line at the the top of each function's comment block makes it easy to see at a glance what function is being implemented. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_buffer_objects.c | 68 ++-- 1 file changed,

[Mesa-dev] [PATCH 2/3] i965: Split intel_upload code out into a separate file.

2013-08-14 Thread Kenneth Graunke
This code upload performs batched uploads via a BO. By moving it out to a separate file, intel_buffer_objects.c only provides the core buffer object functionality. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/Makefile.sources | 1 + src/mesa/drivers/dri/i965/intel_buffer

[Mesa-dev] [PATCH 1/3] i965: Move GL_APPLE_object_purgeable functionality into a new file.

2013-08-14 Thread Kenneth Graunke
GL_APPLE_object_purgeable creates a mechanism for marking OpenGL objects as "purgeable" so they can be thrown away when system resources become scarce. It specifically applies to buffer objects, textures, and renderbuffers. The intel_buffer_objects.c file provides core functionality for GL buffer

Re: [Mesa-dev] [PATCH V2 3/3] i965/blorp: Add support for single sample scaled blit with bilinear filter

2013-08-14 Thread Anuj Phogat
On Wed, Aug 14, 2013 at 10:25 AM, Paul Berry wrote: > On 9 August 2013 19:01, Anuj Phogat wrote: >> >> Currently single sample scaled blits with GL_LINEAR filter falls >> back to meta path. Patch removes this limitation in BLORP engine >> and implements single sample scaled blit with bilinear fil

Re: [Mesa-dev] [PATCH V2 3/3] i965/blorp: Add support for single sample scaled blit with bilinear filter

2013-08-14 Thread Paul Berry
On 9 August 2013 19:01, Anuj Phogat wrote: > Currently single sample scaled blits with GL_LINEAR filter falls > back to meta path. Patch removes this limitation in BLORP engine > and implements single sample scaled blit with bilinear filter. > No piglit, gles3 regressions are obeserved with this

Re: [Mesa-dev] [PATCH] configure: link against -lLLVM to determine build type

2013-08-14 Thread Tom Stellard
On Wed, Aug 14, 2013 at 09:08:55AM +0200, Maarten Lankhorst wrote: > Op 14-08-13 04:37, Tom Stellard schreef: > > On Tue, Aug 13, 2013 at 05:53:52PM +0200, Maarten Lankhorst wrote: > >> Fixes a build failure of 9.2 on ubuntu, because libLLVM-3.3.so is not > >> present in /usr/lib/llvm-3.2/lib. > >

[Mesa-dev] [PATCH] gallivm: already pass coords in the right place in the sampler interface

2013-08-14 Thread sroland
From: Roland Scheidegger This makes things a bit nicer, and more importantly it fixes an issue where a "downgraded" array texture (due to view reduced to 1 layer and addressed with (non-array) samplec instruction) would use the wrong coord as shadow reference value. (This could also be fixed by p

Re: [Mesa-dev] [PATCH V2 00/12] i965: gl_ClipDistance support for Gen4/5.

2013-08-14 Thread Paul Berry
On 9 August 2013 17:14, Chris Forbes wrote: > This series adds support for GLSL-1.30 clip distances on Gen4/5, and > extends max clip planes to match the 1.30 requirement on Cantiga and later. > > Passes 2000/2004 glsl-1.30 piglits on Ironlake. The missing 4 tests here > are > bugs in handling un

Re: [Mesa-dev] [PATCH V2 05/12] i965/Gen4-5: Set clip flags from clip distances

2013-08-14 Thread Paul Berry
On 9 August 2013 17:14, Chris Forbes wrote: > V2: - Use the new VS_OPCODE_UNPACK_FLAGS_SIMD4X2 to correctly split the > flags for the two vertices being processed together. > - Don't apply bogus masking of clip flags. The set of plane enables > aren't included in the shader key, a

Re: [Mesa-dev] [PATCH V2 04/12] i965: add new VS_OPCODE_UNPACK_FLAGS_SIMD4X2

2013-08-14 Thread Paul Berry
On 9 August 2013 17:14, Chris Forbes wrote: > Splits the bottom 8 bits of f0.0 for further wrangling > in a SIMD4x2 program. The 4 bits corresponding to the channels in each > program flow are copied to the LSBs of dst.x visible to each flow. > > This is useful for working with clipping flags in

[Mesa-dev] [PATCH 2/2] gallivm: already pass coords in the right place in the sampler interface

2013-08-14 Thread sroland
From: Roland Scheidegger This makes things a bit nicer, and more importantly it fixes an issue where a "downgraded" array texture (due to view reduced to 1 layer and addressed with (non-array) samplec instruction) would use the wrong coord as shadow reference value. (This could also be fixed by p

[Mesa-dev] [PATCH 1/2] gallivm: change coordinate handling throughout functions

2013-08-14 Thread sroland
From: Roland Scheidegger Instead of passing s,t,r coordinates pass a coord array - the reason is that I need to pass more coords (in particular for shadow "coord", future will also need another one for cube map arrays) so just pass them as an array. Also, to simplify things, use fixed location fo

[Mesa-dev] [PATCH] gallium: add endian detection for OpenBSD

2013-08-14 Thread Jonathan Gray
Signed-off-by: Jonathan Gray --- src/gallium/include/pipe/p_config.h | 10 ++ 1 file changed, 10 insertions(+) diff --git src/gallium/include/pipe/p_config.h src/gallium/include/pipe/p_config.h index 1588a92..9af5df7 100644 --- src/gallium/include/pipe/p_config.h +++ src/gallium/include

Re: [Mesa-dev] [PATCH] llvmpipe: fix pipeline statistics with a null ps

2013-08-14 Thread Roland Scheidegger
Am 14.08.2013 07:40, schrieb Zack Rusin: > If the fragment shader is null then pixel shader invocations have > to be equal to zero. And if we're running a null ps then clipper > invocations and primitives should be equal to zero but only > if both stancil and depth testing are disabled. > > Signed

Re: [Mesa-dev] [PATCH] vl/decoder: Add support for max level query.

2013-08-14 Thread Christian König
Am 14.08.2013 13:04, schrieb Rico Schüller: On 14.08.2013 12:47, Christian König wrote: Am 14.08.2013 08:13, schrieb Rico Schüller: Hi, this patch adds the level query support to the video decoders. This uses some more reasonable defaults. This improves the situation in bug 67530 . The patc

Re: [Mesa-dev] [PATCH] vl/decoder: Add support for max level query.

2013-08-14 Thread Rico Schüller
On 14.08.2013 12:47, Christian König wrote: Am 14.08.2013 08:13, schrieb Rico Schüller: Hi, this patch adds the level query support to the video decoders. This uses some more reasonable defaults. This improves the situation in bug 67530 . The patch is: Reviewed-by: Christian König I assum

Re: [Mesa-dev] [PATCH] vl/decoder: Add support for max level query.

2013-08-14 Thread Christian König
Am 14.08.2013 08:13, schrieb Rico Schüller: Hi, this patch adds the level query support to the video decoders. This uses some more reasonable defaults. This improves the situation in bug 67530 . The patch is: Reviewed-by: Christian König I assume you don't have commit access, right? Che

Re: [Mesa-dev] [PATCH 3/4] r600/radeonsi: implement new float comparison instructions

2013-08-14 Thread Michel Dänzer
On Die, 2013-08-13 at 19:39 -0700, Tom Stellard wrote: > On Tue, Aug 13, 2013 at 07:04:56PM +0200, srol...@vmware.com wrote: > > From: Roland Scheidegger > > > > Also use ordered comparisons for old cmp instructions. Untested. > > This patch looks good to me, but I would like to do a piglit run

Re: [Mesa-dev] [Patch] Sharing flags should disable tiling

2013-08-14 Thread davyaxel
>I was planning to change platform_wayland.c not to use _DRI_IMAGE_USE_SHARE >when self sharing. But after looking more closely, it seems that >PIPE_BIND_SHARED >would be necessary for gallium drivers for self-sharing too. > >Since we want to enable tiling when we use self-sharing, my patch isn

Re: [Mesa-dev] [PATCH 2/3] i965/gen7: Set MOCS L3 cacheability for IVB/BYT

2013-08-14 Thread Ville Syrjälä
On Wed, Aug 14, 2013 at 10:45:23AM +0300, Ville Syrjälä wrote: > On Tue, Aug 13, 2013 at 05:46:55PM -0700, Chad Versace wrote: > > On 08/13/2013 03:31 PM, Vedran Rodic wrote: > > > On Mon, Aug 12, 2013 at 3:07 PM, wrote: > > >> From: Ville Syrjälä > > >> > > >> IVB/BYT also has the same L3 cache

Re: [Mesa-dev] [PATCH 2/3] i965/gen7: Set MOCS L3 cacheability for IVB/BYT

2013-08-14 Thread Ville Syrjälä
On Tue, Aug 13, 2013 at 05:46:55PM -0700, Chad Versace wrote: > On 08/13/2013 03:31 PM, Vedran Rodic wrote: > > On Mon, Aug 12, 2013 at 3:07 PM, wrote: > >> From: Ville Syrjälä > >> > >> IVB/BYT also has the same L3 cacheability control in MOCS as HSW, > >> so let's make use of it. > > > > Accor

Re: [Mesa-dev] [PATCH] configure: link against -lLLVM to determine build type

2013-08-14 Thread Maarten Lankhorst
Op 14-08-13 04:37, Tom Stellard schreef: > On Tue, Aug 13, 2013 at 05:53:52PM +0200, Maarten Lankhorst wrote: >> Fixes a build failure of 9.2 on ubuntu, because libLLVM-3.3.so is not >> present in /usr/lib/llvm-3.2/lib. >> > I'm trying to understand the problem here, could you give a little more >

[Mesa-dev] [PATCH] vl/decoder: Add support for max level query.

2013-08-14 Thread Rico Schüller
Hi, this patch adds the level query support to the video decoders. This uses some more reasonable defaults. This improves the situation in bug 67530 . Cheers Rico --- src/gallium/auxiliary/vl/vl_decoder.c| 15 +++ src/gallium/auxiliary/vl/vl_decoder.h| 6 +

[Mesa-dev] [PATCH] llvmpipe: fix pipeline statistics with a null ps

2013-08-14 Thread Zack Rusin
If the fragment shader is null then pixel shader invocations have to be equal to zero. And if we're running a null ps then clipper invocations and primitives should be equal to zero but only if both stancil and depth testing are disabled. Signed-off-by: Zack Rusin --- src/gallium/drivers/llvmpip

Re: [Mesa-dev] [PATCH 1/4] ilo: implement new float comparison instructions

2013-08-14 Thread Chia-I Wu
On Wed, Aug 14, 2013 at 1:04 AM, wrote: > From: Roland Scheidegger > > untested. Looks good to me. > --- > src/gallium/drivers/ilo/shader/toy_tgsi.c | 20 > 1 file changed, 12 insertions(+), 8 deletions(-) > > diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c > b/sr

Re: [Mesa-dev] [Patch] Sharing flags should disable tiling

2013-08-14 Thread davyaxel
> On Mon, Aug 12, 2013 at 3:05 PM, Marek Olšák wrote: >> On Mon, Aug 12, 2013 at 11:36 PM, Stéphane Marchesin >> wrote: Other than hybrid systems (of which there are none with i915 graphics), is there any case where __DRI_IMAGE_USE_SHARE can occur? >>> >>> You could do interesti

Re: [Mesa-dev] [PATCH] glsl: Emit better warnings for things that look like default precision statements

2013-08-14 Thread Kenneth Graunke
On 08/13/2013 01:35 PM, Ian Romanick wrote: From: Ian Romanick Previously we would emit a warning for empty declarations like float; We would also emit the same warning for things like highp float; However, this second case is most likely the application trying to set the default precision.

[Mesa-dev] [PATCH] vl/decoder: Add support for max level query.

2013-08-14 Thread Rico Schüller
Hi, this patch adds the level query support to the video decoders. This uses some more reasonable defaults. This improves the situation in bug 67530 . Cheers Rico --- src/gallium/auxiliary/vl/vl_decoder.c| 15 +++ src/gallium/auxiliary/vl/vl_decoder.h| 6 ++