summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-05-15 11:55:46 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-05-15 12:31:15 -0700
commitd43aed9646972c4aca44f47d1b445bd8e67024d7 (patch)
treefd3e3141d73eab9c24744705d573e86afcb32bfb /src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
parent7de484871dae1643cbecf346066968f61684f06f (diff)
downloadexternal_mesa3d-d43aed9646972c4aca44f47d1b445bd8e67024d7.zip
external_mesa3d-d43aed9646972c4aca44f47d1b445bd8e67024d7.tar.gz
external_mesa3d-d43aed9646972c4aca44f47d1b445bd8e67024d7.tar.bz2
i965: Fix FS unit tests
Commit 3687d75 changed the fs_visitor constructors, but it didn't update all the users. As a result, 'make check' fails. I added the explicit cast to the gl_program* parameter to make it more clear which NULL was which. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@Whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp b/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
index 206a76e..0e48e82 100644
--- a/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
@@ -45,7 +45,8 @@ public:
cmod_propagation_fs_visitor(struct brw_context *brw,
struct brw_wm_prog_data *prog_data,
struct gl_shader_program *shader_prog)
- : fs_visitor(brw, NULL, NULL, prog_data, shader_prog, NULL, 8) {}
+ : fs_visitor(brw, NULL, MESA_SHADER_FRAGMENT, NULL, &prog_data->base,
+ shader_prog, (struct gl_program *) NULL, 8) {}
};