compiler: Turn off push constants for fragment shader
authorCody Northrop <cody@lunarg.com>
Mon, 29 Sep 2014 19:21:12 +0000 (13:21 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 31 Oct 2014 21:29:13 +0000 (15:29 -0600)
icd/intel/compiler/pipeline/brw_fs.cpp

index 2707f8718fadd550e5999fe1687006330b0af2be..2dba316ad9e4722a504421290d11e0193edfd5c5 100644 (file)
@@ -1920,7 +1920,8 @@ fs_visitor::assign_constant_locations()
     * Just demote the end of the list.  We could probably do better
     * here, demoting things that are rarely used in the program first.
     */
-   unsigned int max_push_components = 16 * 8;
+   // LunarG : TODO - turning off push constants for bring up
+   unsigned int max_push_components = 0;//16 * 8;
    unsigned int num_push_constants = 0;
 
    push_constant_loc = ralloc_array(mem_ctx, int, uniforms);