Merge remote-tracking branch 'public/master' into vulkan
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Mar 2016 21:09:50 +0000 (14:09 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Mar 2016 21:09:50 +0000 (14:09 -0700)
22 files changed:
1  2 
configure.ac
src/compiler/Makefile.sources
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/nir/Makefile.sources
src/compiler/nir/glsl_to_nir.cpp
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py
src/compiler/nir/nir_print.c
src/compiler/nir/nir_validate.c
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_device_info.c
src/mesa/drivers/dri/i965/brw_device_info.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/main/mtypes.h

diff --cc configure.ac
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 0f8c78100bf9cd3416ce8ea216efeca201500d5a,34f31eb9859846f13878f83c55fcac412073333d..ae37cbf7325cbcfaec490ecf54f1e0cf2c6279e8
@@@ -2094,9 -1994,8 +2094,9 @@@ void nir_index_blocks(nir_function_imp
  void nir_print_shader(nir_shader *shader, FILE *fp);
  void nir_print_instr(const nir_instr *instr, FILE *fp);
  
- nir_shader *nir_shader_clone(void *mem_ctx, const nir_shader *s);
- nir_function_impl *nir_function_impl_clone(const nir_function_impl *impl);
+ nir_shader * nir_shader_clone(void *mem_ctx, const nir_shader *s);
+ nir_function_impl *nir_function_impl_clone(const nir_function_impl *fi);
 +nir_constant *nir_constant_clone(const nir_constant *c, nir_variable *var);
  
  #ifdef DEBUG
  void nir_validate_shader(nir_shader *shader);
Simple merge
Simple merge
Simple merge
index 0f9de30f05b578785e2d1c7abeb6ddd376e2b62b,86d2bd92726e68ee15648e20a9d0a574a31c5ac6..b5f1a8743681bae919074fead15873c4a75d64c7
@@@ -1931,10 -1933,15 +1931,10 @@@ fs_visitor::compact_virtual_grfs(
  void
  fs_visitor::assign_constant_locations()
  {
-    /* Only the first compile (SIMD8 mode) gets to decide on locations. */
-    if (dispatch_width != 8)
+    /* Only the first compile gets to decide on locations. */
+    if (dispatch_width != min_dispatch_width)
        return;
  
 -   unsigned int num_pull_constants = 0;
 -
 -   pull_constant_loc = ralloc_array(mem_ctx, int, uniforms);
 -   memset(pull_constant_loc, -1, sizeof(pull_constant_loc[0]) * uniforms);
 -
     bool is_live[uniforms];
     memset(is_live, 0, sizeof(is_live));
  
Simple merge
index 7b86e1bc05015e76c0b75f3930c9c65e30cb1f11,d43a5a82052cbe1465e15e353e70102de66c7c52..6143f65efa139b7d52c4c28369ed33ff6ce0b8ba
@@@ -274,15 -276,10 +274,8 @@@ public
     void emit_shader_time_end();
     void emit_shader_time_write(int shader_time_subindex, src_reg value);
  
-    void emit_untyped_atomic(unsigned atomic_op, unsigned surf_index,
-                             dst_reg dst, src_reg offset, src_reg src0,
-                             src_reg src1);
-    void emit_untyped_surface_read(unsigned surf_index, dst_reg dst,
-                                   src_reg offset);
     src_reg get_scratch_offset(bblock_t *block, vec4_instruction *inst,
                              src_reg *reladdr, int reg_offset);
 -   src_reg get_pull_constant_offset(bblock_t *block, vec4_instruction *inst,
 -                                  src_reg *reladdr, int reg_offset);
     void emit_scratch_read(bblock_t *block, vec4_instruction *inst,
                          dst_reg dst,
                          src_reg orig_src,
Simple merge