[Mesa-dev] [PATCH 0/5] i965/cs: Texture sampling support

Jordan Justen jordan.l.justen at intel.com
Fri Jun 26 16:35:19 PDT 2015


With these environment overrides:
 MESA_GL_VERSION_OVERRIDE=4.3
 MESA_GLSL_VERSION_OVERRIDE=430
 MESA_EXTENSION_OVERRIDE=GL_ARB_compute_shader

This series allows this piglit test to pass:
tests/spec/arb_compute_shader/execution/basic-texelFetch.shader_test

Note, these patches were applied on top of this unreviewed patch:
http://patchwork.freedesktop.org/patch/52010/

Jordan Justen (5):
  i965: Support CS in update_stage_texture_surfaces
  i965: Run vector splitting for CS in brw_link_shader
  i965/fs: Set first_non_payload_grf in assign_curb_setup
  i965/cs: Support texture sampling for CS
  i965/cs: Emit texture surfaces to enable CS sampling

 src/mesa/drivers/dri/i965/brw_context.h          |  2 +-
 src/mesa/drivers/dri/i965/brw_cs.cpp             | 14 ++++++++++++--
 src/mesa/drivers/dri/i965/brw_fs.cpp             |  9 +++++----
 src/mesa/drivers/dri/i965/brw_shader.cpp         |  1 +
 src/mesa/drivers/dri/i965/brw_state_upload.c     |  2 ++
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |  9 ++++++++-
 6 files changed, 29 insertions(+), 8 deletions(-)

-- 
2.1.4



More information about the mesa-dev mailing list