compiler: Turn off uniform loads via sampler for vec4 for now
authorCody Northrop <cody@lunarg.com>
Fri, 10 Oct 2014 21:42:53 +0000 (15:42 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 31 Oct 2014 21:29:16 +0000 (15:29 -0600)
icd/intel/compiler/pipeline/brw_vec4_visitor.cpp

index c8480db..8f7414f 100644 (file)
@@ -3250,7 +3250,8 @@ vec4_visitor::emit_pull_constant_load(vec4_instruction *inst,
    src_reg offset = get_pull_constant_offset(inst, orig_src.reladdr, reg_offset);
    vec4_instruction *load;
 
-   if (brw->gen >= 7) {
+   // LunarG: Remove - Don't use samplers for uniform loads yet
+   if (false && brw->gen >= 7) {
       dst_reg grf_offset = dst_reg(this, glsl_type::int_type);
       grf_offset.type = offset.type;
       emit_before(inst, MOV(grf_offset, offset));