On 2015-04-24 23:11:13, Kenneth Graunke wrote:
> On Friday, April 24, 2015 04:33:00 PM Jordan Justen wrote:
> > v2:
> > * Do more work at the visitor level. g0 is loaded and sent to the
> >generator now.
> >
> > Signed-off-by: Jordan Justen
> > ---
> > src/mesa/drivers/dri/i965/brw_fs.h
On Friday, April 24, 2015 04:33:03 PM Jordan Justen wrote:
> From: Paul Berry
>
> jordan.l.jus...@intel.com:
> * Added brw_cs_prog_key structure
> * Added brw_cs_prog_data::dispatch_grf_start_reg_16
> * Added brw_cs_prog_data::no_8
> * Added brw_cs_prog_data::local_size
> * Added brw_cs_prog
On Friday, April 24, 2015 04:33:11 PM Jordan Justen wrote:
> Signed-off-by: Jordan Justen
> ---
> src/mesa/drivers/dri/i965/brw_cs.cpp | 80
>
> src/mesa/drivers/dri/i965/brw_defines.h | 3 ++
> src/mesa/drivers/dri/i965/brw_state.h| 1 +
> src
On Friday, April 24, 2015 04:33:10 PM Jordan Justen wrote:
> Remove comment "These were copied from Haswell GT1, above.". Many of
> these numbers have been modified by this point, so the HSW GT1
> reference no longer seems helpful.
>
> The comment "Thread counts and URB limits are placeholders, an
On Friday, April 24, 2015 04:33:00 PM Jordan Justen wrote:
> v2:
> * Do more work at the visitor level. g0 is loaded and sent to the
>generator now.
>
> Signed-off-by: Jordan Justen
> ---
> src/mesa/drivers/dri/i965/brw_fs.h | 1 +
> src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |
On Apr 24, 2015 4:46 PM, "Rob Clark" wrote:
>
> On Fri, Apr 24, 2015 at 7:32 PM, Jason Ekstrand
wrote:
> > This commit adds a C-based linked list implementation for NIR. Unlike
> > exec_list in glsl/list.h, there is no C++ API. Also, this list is
based on
> > wl_list (from the Wayland project)
Kenneth Graunke writes:
> I like this idea!
>
> We definitely need to skip this optimization on Gen4, since the Gen4/G45
> sampler infers the texturing opcode based on the message length. But
> for Gen5+, it should be no problem.
Ah ok, yes, I will add this.
> Matt mentioned that we have to em
On Fri, Apr 24, 2015 at 5:15 PM, Neil Roberts wrote:
> Matt Turner writes:
>
>>> + foreach_block_and_inst(block, fs_inst, inst, cfg) {
>>> + if ((inst->opcode == SHADER_OPCODE_TEX ||
>>> + inst->opcode == SHADER_OPCODE_TXF) &&
>>> + !inst->shadow_compare) {
>>> +
Matt Turner writes:
>> + foreach_block_and_inst(block, fs_inst, inst, cfg) {
>> + if ((inst->opcode == SHADER_OPCODE_TEX ||
>> + inst->opcode == SHADER_OPCODE_TXF) &&
>> + !inst->shadow_compare) {
>> + fs_inst *load_payload = (fs_inst *) inst->prev;
>> +
>> +
On Fri, Apr 24, 2015 at 05:12:34PM -0700, Anuj Phogat wrote:
> On Fri, Apr 24, 2015 at 12:22 PM, Pohjolainen, Topi
> wrote:
> > On Fri, Apr 17, 2015 at 04:51:36PM -0700, Anuj Phogat wrote:
> >> No other path currently supports uploading data to these surfaces.
> >>
> >> Signed-off-by: Anuj Phogat
On Fri, Apr 24, 2015 at 12:22 PM, Pohjolainen, Topi
wrote:
> On Fri, Apr 17, 2015 at 04:51:36PM -0700, Anuj Phogat wrote:
>> No other path currently supports uploading data to these surfaces.
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i965/intel_tex_image.c| 24 +
On Fri, Apr 24, 2015 at 7:32 PM, Jason Ekstrand wrote:
> This commit adds a C-based linked list implementation for NIR. Unlike
> exec_list in glsl/list.h, there is no C++ API. Also, this list is based on
> wl_list (from the Wayland project) which is, in turn, based on the kernel
> list. As such
Currently we're producing errors like
User error: GL_INVALID_OPERATION in glglDeleteProgramsARB(invalid call)
And noop_warn appears to be called with the full function name. Don't
prepend a gl prefix.
Signed-off-by: Ilia Mirkin
---
src/mesa/main/context.c | 4 ++--
1 file changed, 2 insertions
Signed-off-by: Jordan Justen
---
git://people.freedesktop.org/~jljusten/mesa i965-cs-atomic-counters-v1
src/mesa/drivers/dri/i965/brw_context.h | 2 +-
src/mesa/drivers/dri/i965/brw_state.h| 1 +
src/mesa/drivers/dri/i965/brw_state_upload.c | 2 ++
src/mesa/drivers/dr
Tested on Ivybridge, Haswell and Broadwell.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_compute.c | 39 -
src/mesa/drivers/dri/i965/brw_defines.h | 1 +
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/br
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.h | 2 +-
src/mesa/drivers/dri/i965/brw_state_upload.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h
b/src/mesa/drivers/dri/i965/brw_context.h
index 7fd50f4
From: Paul Berry
brw_emit_gpgpu_walker will be implemented in a subsequent patch.
Reviewed-by: Jordan Justen
---
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_compute.c| 121 +
src/mesa/drivers/dri/i965/brw_context.c| 1
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_compute.c | 5 +
src/mesa/drivers/dri/i965/brw_defines.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_compute.c
b/src/mesa/drivers/dri/i965/brw_compute.c
index 06ef448..d41d68a 100644
--- a/
From: Paul Berry
Reviewed-by: Jordan Justen
---
src/mesa/main/dd.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 0c1a13f..a329d9c 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1005,6 +1005,13 @@ struct dd_function_table {
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.h | 2 ++
src/mesa/drivers/dri/i965/brw_misc_state.c | 23 +--
src/mesa/drivers/dri/i965/brw_state.h| 12
src/mesa/drivers/dri/i965/brw_state_upload.c | 5 +
4 files change
git://people.freedesktop.org/~jljusten/mesa i965-dispatch-compute-v1
Jordan Justen (4):
i965/cs: Emit state base address
i965/state: Emit pipeline select when changing pipelines
i965/cs: Implement brw_emit_gpgpu_walker
i965/cs: Emit MEDIA_STATE_FLUSH after WALKER
Paul Berry (3):
mesa/cs
From: Paul Berry
Reviewed-by: Jordan Justen
---
src/mesa/main/compute.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/compute.c b/src/mesa/main/compute.c
index 575..37a4ba7 100644
--- a/src/mesa/main/compute.c
+++ b/src/mesa/main/comp
On Fri, Apr 24, 2015 at 4:32 PM, Jason Ekstrand wrote:
> This commit switches us from the current setup of using hash sets for
> use/def sets to using linked lists. Doing so should save us quite a bit of
> memory because we aren't carrying around 3 hash sets per register and 2 per
> SSA value. I
v2:
* Don't rely on brw_eu* to generate the send instruction. We now
generate the send here, and drop the "i965/cs: Add support for the
SEND message that terminates a CS thread" brw_eu* patch.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_fs.h | 1 +
src/mesa
From: Paul Berry
Also add code to brw_upload_state to set it when the compute program
changes.
Reviewed-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/drivers/dri/i965/brw_context.h | 3 +++
src/mesa/drivers/dri/i965/brw_state_upload.c | 6 ++
2 files changed, 9 insert
Add some values for gen7 & gen8. These are the number threads in a
subslice.
Signed-off-by: Jordan Justen
Cc: Ben Widawsky
Cc: Kenneth Graunke
---
src/mesa/drivers/dri/i965/brw_context.c | 1 +
src/mesa/drivers/dri/i965/brw_context.h | 1 +
src/mesa/drivers/dri/i965/brw_device_info.c
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.h | 3 +++
src/mesa/drivers/dri/i965/brw_cs.cpp| 8
src/mesa/drivers/dri/i965/brw_fs.cpp| 11 +++
src/mesa/drivers/dri/i965/brw_program.c | 13 +++--
4 files changed, 33 insertions(+), 2 dele
v2:
* Do more work at the visitor level. g0 is loaded and sent to the
generator now.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_fs.h | 1 +
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 19 +++
2 files changed, 20 insertions(+)
diff --git a/sr
Signed-off-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/drivers/dri/i965/brw_context.h | 2 ++
src/mesa/drivers/dri/i965/brw_state_dump.c | 3 +++
src/mesa/drivers/dri/i965/brw_state_upload.c | 1 +
3 files changed, 6 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/
From: Paul Berry
Reviewed-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/main/state.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index cc84c61..99db37b 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa
On Thu, Apr 23, 2015 at 6:05 PM, Pohjolainen, Topi
wrote:
> On Fri, Apr 17, 2015 at 04:51:35PM -0700, Anuj Phogat wrote:
>> Patch sets the alignments for texture and renderbuffer surfaces.
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i965/gen8_surface_state.c | 34
>>
From: Paul Berry
jordan.l.jus...@intel.com:
* Added brw_cs_prog_key structure
* Added brw_cs_prog_data::dispatch_grf_start_reg_16
* Added brw_cs_prog_data::no_8
* Added brw_cs_prog_data::local_size
* Added brw_cs_prog_data::simd_size
Signed-off-by: Jordan Justen
Reviewed-by: Kristian Høgsb
git://people.freedesktop.org/~jljusten/mesa i965-cs-prog-v2
These patches could use review:
* [08/20] i965/fs: Add emit_cs_terminate to emit CS_OPCODE_CS_TERMINATE
* [10/20] i965/cs: Add generator support for CS_OPCODE_CS_TERMINATE
* [13/20] i965/fs: Support compute programs in fs_visitor
* [1
From: Paul Berry
Reviewed-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/program/program.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h
index 0b0d1ac..2d92ab2 100644
--- a/src/mesa/program/pro
From: Paul Berry
At the moment it's not wired up to anything. Later patches will hook
it up to the compute shader back-end.
Reviewed-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/drivers/dri/i965/intel_debug.c | 3 ++-
src/mesa/drivers/dri/i965/intel_debug.h | 1 +
2 files ch
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.h | 6 ++
src/mesa/drivers/dri/i965/brw_cs.cpp | 28
src/mesa/drivers/dri/i965/brw_shader.cpp | 4
src/mesa/drivers/dri/i965/brw_shader.h | 3 +++
4 files changed, 41 insertions(
Signed-off-by: Jordan Justen
Reviewed-by: Kenneth Graunke
---
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
index 94e1a0a..582d099 10
From: Paul Berry
Reviewed-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/program/program.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 4f28e2a..fb61f4d 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_defines.h | 5 +
src/mesa/drivers/dri/i965/brw_shader.cpp | 2 ++
2 files changed, 7 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h
b/src/mesa/drivers/dri/i965/brw_defines.h
index bd3218a..f6f8962 100644
---
v2:
* Don't bother checking for 'gen > 5' (krh)
* Populate sampler data in key (krh)
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.h | 1 +
src/mesa/drivers/dri/i965/brw_cs.cpp | 224 +++
src/mesa/drivers/dri/i965/brw_state_upload
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_cs.cpp | 80
src/mesa/drivers/dri/i965/brw_defines.h | 3 ++
src/mesa/drivers/dri/i965/brw_state.h| 1 +
src/mesa/drivers/dri/i965/brw_state_upload.c | 2 +
4 files changed, 86 inse
v2:
* Clean out some unneeded code copied from run_fs (krh)
* Always use NIR
* Split shader time out into a separate commit
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.c | 2 +
src/mesa/drivers/dri/i965/brw_fs.cpp | 61 ++--
src
Suggested-by: Kristian Høgsberg
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 32
src/mesa/drivers/dri/i965/brw_fs.h | 3 +++
src/mesa/drivers/dri/i965/brw_vec4.cpp | 13 +
3 files changed, 24 insertions(+), 24 deletio
Remove comment "These were copied from Haswell GT1, above.". Many of
these numbers have been modified by this point, so the HSW GT1
reference no longer seems helpful.
The comment "Thread counts and URB limits are placeholders, and may
not be accurate." is retained for now.
Signed-off-by: Jordan J
Signed-off-by: Jordan Justen
Reviewed-by: Kristian Høgsberg
---
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_cs.cpp| 48 +
src/mesa/drivers/dri/i965/brw_cs.h | 2 ++
src/mesa/drivers/dri/i965/brw_state_cache.c |
---
src/glsl/nir/nir_from_ssa.c | 11 +--
src/glsl/nir/nir_lower_locals_to_regs.c | 14 ++
src/glsl/nir/nir_lower_to_source_mods.c | 20
src/glsl/nir/nir_lower_vars_to_ssa.c| 3 ++-
src/glsl/nir/nir_opt_gcm.c | 14 ++---
This commit switches us from the current setup of using hash sets for
use/def sets to using linked lists. Doing so should save us quite a bit of
memory because we aren't carrying around 3 hash sets per register and 2 per
SSA value. It should also save us CPU time because adding/removing things
fr
---
src/glsl/nir/glsl_to_nir.cpp | 2 +-
src/glsl/nir/nir.h | 13 +++--
src/glsl/nir/nir_builder.h | 6 ++
src/glsl/nir/nir_lower_samplers.cpp| 5 ++---
src/glsl/nir/nir_lower_tex_projector.c | 5 ++---
src/glsl/nir/nir_search.c
This patch series is an experiment that I ran this week to see what would
happen if we used a linked list instead of a hash set for use/def sets in
NIR. The first 5 patches are cleanups that we probably want anyway. The
6th adds a C-based linked list to NIR. The last 3, which need to be
squashed
The out-of-SSA pass was one of the first passes written when getting SSA
up-and-going (for obvious reasons). As such, it came before a lot of the
nifty SSA-based helpers were introduced. This commit modernizes it so that
we're no longer doing nearly as much manual banging on use/def sets.
---
sr
This commit adds a C-based linked list implementation for NIR. Unlike
exec_list in glsl/list.h, there is no C++ API. Also, this list is based on
wl_list (from the Wayland project) which is, in turn, based on the kernel
list. As such, it should be fairly familiar to people who have done
anything
We were rolling our own rewrite_src variant in copy-propagation. Let's
stop doing that and use the ones in core NIR.
---
src/glsl/nir/nir_opt_copy_propagate.c | 71 +--
1 file changed, 10 insertions(+), 61 deletions(-)
diff --git a/src/glsl/nir/nir_opt_copy_propag
One of the side-effects of using a linked list for use/def sets is that you
can no longer simply copy them around. There were a couple of places in
the texture lowering passes that realloced or used memmove on lists of
sources. Instead, this commit adds a helper for moving a source and uses
it fo
---
src/glsl/nir/nir_validate.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/glsl/nir/nir_validate.c b/src/glsl/nir/nir_validate.c
index a7aa798..35a853d 100644
--- a/src/glsl/nir/nir_validate.c
+++ b/src/glsl/nir/nir_validate.c
@@ -236,6 +236,8 @@ validate_ssa_def(nir_ssa_def *def, v
---
src/glsl/nir/nir.c | 22 ++
src/glsl/nir/nir.h | 1 +
2 files changed, 23 insertions(+)
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index 4cc074b..b8f5dd4 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -1895,6 +1895,28 @@ nir_instr_rewrite_src(nir_in
Now that ARB_texture_stencil8 is supported, this might happen.
Signed-off-by: Ilia Mirkin
---
src/mesa/state_tracker/st_atom_framebuffer.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c
b/src/mesa/state_tracker/st_atom_frameb
On Thu, Apr 23, 2015 at 6:10 PM, Pohjolainen, Topi
wrote:
> On Fri, Apr 17, 2015 at 04:51:34PM -0700, Anuj Phogat wrote:
>> Makes no functional changes in the code.
>>
>> Signed-off-by: Anuj Phogat
>> Reviewed-by: Chris Forbes
>> ---
>> src/mesa/drivers/dri/i965/gen8_surface_state.c | 15 ++
"Pohjolainen, Topi" writes:
> On Fri, Feb 27, 2015 at 05:34:55PM +0200, Francisco Jerez wrote:
>> ---
>> src/mesa/drivers/dri/i965/brw_defines.h| 4 +
>> src/mesa/drivers/dri/i965/brw_eu.h | 24 +++
>> src/mesa/drivers/dri/i965/brw_eu_emit.c| 169
>> ++
https://bugs.freedesktop.org/show_bug.cgi?id=90167
Bug ID: 90167
Summary: [softpipe] piglit
depthstencil-default_fb-drawpixels-32f_24_8_rev
regression
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
On Fri, Apr 24, 2015 at 2:39 PM, Pohjolainen, Topi
wrote:
> On Fri, Apr 17, 2015 at 04:51:33PM -0700, Anuj Phogat wrote:
>> This function will be utilised in later patches.
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i965/brw_context.h| 4
>> src/mesa/drivers/dri/i9
On Fri, Apr 24, 2015 at 6:13 PM, Axel Davy wrote:
> Le 25/04/2015 00:02, Ilia Mirkin a écrit :
>>
>>
>> I'm having trouble understanding what you're changing here... perhaps
>> a better commit description could go a ways to clearing things up?
>> Were you allocating it a level at a time before? Ho
On Thu, Apr 23, 2015 at 11:24:11PM -0700, Kenneth Graunke wrote:
> This makes INTEL_DEBUG=perf report shader recompiles due to CMS vs.
> UMS/IMS differences and Sandybridge textureGather workarounds.
>
> Previously, we just flagged them as "Something else".
>
> Signed-off-by: Kenneth Graunke
Re
On Fri, Feb 27, 2015 at 05:34:55PM +0200, Francisco Jerez wrote:
> ---
> src/mesa/drivers/dri/i965/brw_defines.h| 4 +
> src/mesa/drivers/dri/i965/brw_eu.h | 24 +++
> src/mesa/drivers/dri/i965/brw_eu_emit.c| 169
> +
> src/mesa/drive
On Thu, Apr 23, 2015 at 4:51 PM, Pohjolainen, Topi
wrote:
> On Fri, Apr 17, 2015 at 04:51:27PM -0700, Anuj Phogat wrote:
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i965/brw_tex_layout.c| 2 ++
>> src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 6 ++
>> 2 files changed,
Le 25/04/2015 00:02, Ilia Mirkin a écrit :
I'm having trouble understanding what you're changing here... perhaps
a better commit description could go a ways to clearing things up?
Were you allocating it a level at a time before? How did that work, I
don't see a per-level structure... I'm guessin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mesa 10.5.4 is now available. This release includes fixes for the mesa
state-tracker used by all the gallium drivers, a drirc workaround for
Second Life, plus i965 fixes. For the Android users out there, this release
includes many compilation fixes wit
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Some applications assume the memory for multilevel
> textures is allocated per continuous blocks.
>
> This patch implements that behaviour.
>
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/cubetexture9.c | 42 +++
Reviewed-by: Ilia Mirkin
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> This code was supposed to be removed, but a rebase seems to have
> made it stay.
>
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/nine_state.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --g
Reviewed-by: Ilia Mirkin
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/cubetexture9.c | 3 +++
> src/gallium/state_trackers/nine/device9.c| 5 +
> src/gallium/state_trackers/nine/indexbuffer9.c | 14 ++
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Previous code was trying to optimise to call set_vertex_buffers on
> big packets, and thus avoids as many calls as possible.
>
> However in practice doing so won't be faster (drivers implement
> set_vertex_buffers by a loop over the buffers we wa
On 24 April 2015 at 22:09, Axel Davy wrote:
> +static void nine_setup_fpu(void)
> +{
> +#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
> +WORD cw;
> +__asm__ volatile ("fnstcw %0" : "=m" (cw));
> +cw = (cw & ~0xf3f) | 0x3f;
> +__asm__ volatile ("fldcw %0" : : "
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> From: Xavier Bouchoux
>
> Was sometimes too large for PS.
>
> Reviewed-by: Axel Davy
> Signed-off-by: Xavier Bouchoux
> ---
> src/gallium/state_trackers/nine/nine_shader.c | 8 +---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> di
On Fri, Apr 17, 2015 at 04:51:33PM -0700, Anuj Phogat wrote:
> This function will be utilised in later patches.
>
> Signed-off-by: Anuj Phogat
> ---
> src/mesa/drivers/dri/i965/brw_context.h| 4
> src/mesa/drivers/dri/i965/brw_tex_layout.c | 10 +-
> 2 files changed, 9 insertio
Oups, yep I changed the commit message to make it shorter, but I made it
say the opposite that what it was suppose to...
Le 24/04/2015 23:32, Ilia Mirkin a écrit :
The diff does not agree with the commit description. Also please limit
commit descriptions to 72 chars.
On Fri, Apr 24, 2015 at 4:
On Fri, Apr 17, 2015 at 04:51:32PM -0700, Anuj Phogat wrote:
> This patch sets the tiled resource mode for texture and renderbuffer
> surfaces.
>
> Signed-off-by: Anuj Phogat
> ---
> src/mesa/drivers/dri/i965/brw_defines.h| 6 ++
> src/mesa/drivers/dri/i965/gen8_surface_state.c | 22
On Fri, Apr 24, 2015 at 5:32 PM, Ilia Mirkin wrote:
> The diff does not agree with the commit description. Also please limit
> commit descriptions to 72 chars.
er, of course I meant commit *subjects*. Although the each line of the
commit description should also be wrapped at 72. (Because they're
The diff does not agree with the commit description. Also please limit
commit descriptions to 72 chars.
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> From: Xavier Bouchoux
>
> This behaviour matches windows drivers.
>
> Reviewed-by: Axel Davy
> Signed-off-by: Xavier Bouchoux
> ---
> src
That makes sense. Probably the FLUSH is supposed to imply something
else, which in turn just makes the timestamp query succeed...
something like
if (flush)
pipe->flush()
or something. That's basically what telling it to wait does though, so
this is fine.
Reviewed-by: Ilia Mirkin
On Fri, Apr
On Fri, Apr 17, 2015 at 04:51:39PM -0700, Anuj Phogat wrote:
> Conditions modified allow skl+ to use blitter:
> - for all tiling formats
> - to write data to YF/YS tiled surfaces
>
> Signed-off-by: Anuj Phogat
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 12 +---
> 1 file ch
From
https://msdn.microsoft.com/en-us/library/windows/desktop/bb172594%28v=vs.85%29.aspx
D3DQUERYTYPE_TIMESTAMPFREQ
This query result is TRUE if the values from D3DQUERYTYPE_TIMESTAMP
queries cannot be guaranteed to be continuous throughout the duration
of the D3DQUERYTYPE_TIMESTAMPDISJOINT query
Reviewed-by: Ilia Mirkin
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> No major vendor advertises it, and we weren't supporting it.
>
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/adapter9.c | 2 +-
> src/gallium/state_trackers/nine/device9.c | 10 ++
> 2 f
Reviewed-by: Ilia Mirkin
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/nine_state.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/src/gallium/state_trackers/nine/nine_state.c
> b/src/gallium
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/device9.c| 4 +++-
> src/gallium/state_trackers/nine/device9.h| 4
> src/gallium/state_trackers/nine/nine_state.c | 24
> 3 files changed,
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> From: Xavier Bouchoux
>
> render_condition_enable was uninitialized.
>
> Reviewed-by: Axel Davy
> Signed-off-by: Xavier Bouchoux
I assume d3d9 doesn't have conditional rendering? If it does, you
should double-check whether StretchRect and Res
Le 24/04/2015 23:10, Ilia Mirkin a écrit :
What if the depth buffer is smaller than the color RT? I'd assume that
the fb would be reduced in that case as well... or does
This->state.fb.width/height only represent the min of the color RT's
sizes?
It is forbidden by the spec to have depth buffer
On Fri, Apr 24, 2015 at 5:08 PM, Axel Davy wrote:
> Le 24/04/2015 23:04, Ilia Mirkin a écrit :
>>
>> On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
>>>
>>> Signed-off-by: Axel Davy
>>> ---
>>> src/gallium/state_trackers/nine/nine_shader.c | 19 ++-
>>> 1 file changed, 18 in
What if the depth buffer is smaller than the color RT? I'd assume that
the fb would be reduced in that case as well... or does
This->state.fb.width/height only represent the min of the color RT's
sizes?
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> From: Patrick Rudolph
>
> This adds an ad
Le 24/04/2015 23:04, Ilia Mirkin a écrit :
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nin
Reviewed-by: Ilia Mirkin
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> The sampler src index was wrong for texldl and texldd
>
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/nine_shader.c | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> Signed-off-by: Axel Davy
> ---
> src/gallium/state_trackers/nine/nine_shader.c | 19 ++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/nine/nine_shader.c
> b/src/gallium/state_tra
One more comment, that I neglected to add: there are other checks for
_CurrentFragmentProgram to be non-NULL, indeed function
brw_upload_wm_abo_surface() [file brw_wm_surface_state.c], also
has a check for it being non-NULL. That function is the emit for
the atom brw_wm_abo_surfaces which is pre
Can you use the fe* class of functions for this? Not entirely sure
what this is setting, but you should be able to do it with
fegetenv/fesetenv, or the more specialized functions.
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy wrote:
> From: Tiziano Bacocco
>
> Signed-off-by: Tiziano Bacocco
> ---
On Fri, Apr 24, 2015 at 12:59:53PM +0200, EdB wrote:
> Since clover should compile use -std=c++11,
> compat classes are no longer neccessary
>
Thank you for working on this, it is a nice improvement. I will try to
review/test these early next week.
Thanks,
Tom
> EdB (4):
> clover: remove com
From: Patrick Rudolph
This adds an additional check to make sure the bound depth-buffer doesn't
exceed the rendertarget size when clearing depth and color buffer at once.
D3D9 clears only a rectangle with the same dimensions as the viewport, leaving
other parts of the depth-buffer intact.
This f
Some applications assume the memory for multilevel
textures is allocated per continuous blocks.
This patch implements that behaviour.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/cubetexture9.c | 42 --
src/gallium/state_trackers/nine/cubetexture9.h | 1 +
s
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/cubetexture9.c | 3 +++
src/gallium/state_trackers/nine/device9.c| 5 +
src/gallium/state_trackers/nine/indexbuffer9.c | 14 --
src/gallium/state_trackers/nine/texture9.c | 5 +
src/gallium/state
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/basetexture9.c | 82
src/gallium/state_trackers/nine/basetexture9.h | 19 +++---
src/gallium/state_trackers/nine/cubetexture9.c | 2 +-
src/gallium/state_trackers/nine/device9.c| 2 +-
src/galliu
Remove the Surface9 code for dirty rects, used only for Managed
resources. Instead convey the information to the parent texture.
According to documentation, this seems to be the expected behaviour,
and if documentation is wrong there, that's not a problem since it can
only leads to more texture up
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/cubetexture9.c | 4
src/gallium/state_trackers/nine/texture9.c | 3 +++
src/gallium/state_trackers/nine/volumetexture9.c | 9 +
3 files changed, 16 insertions(+)
diff --git a/src/gallium/state_trackers/nine/cubetex
That part of the code was quite obscure.
This new implementation tries to make it clearer
by separating the differents parts, and commenting more.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/basetexture9.c | 221 ++---
1 file changed, 125 insertions(+), 96 de
1 - 100 of 188 matches
Mail list logo