[Mesa-dev] [PATCH] program: add no-op add_uniform_to_shader::set_buffer_offset() method
Brian Paul
brianp at vmware.com
Sat Mar 5 17:40:46 UTC 2016
Fixes VMware MSVC, MinGW builds:
build/windows-x86-debug/mesa/libmesa.a(ir_to_mesa.o):
ir_to_mesa.cpp:(.rdata+0xf9c): undefined reference to
`program_resource_visitor::set_buffer_offset(unsigned int)'
This doesn't seem to be needed for the libgl-gdi target, however.
---
src/mesa/program/ir_to_mesa.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 10d931c..d9338e0 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -2318,6 +2318,10 @@ public:
}
private:
+ virtual void set_buffer_offset(unsigned offset)
+ {
+ }
+
virtual void visit_field(const glsl_type *type, const char *name,
bool row_major);
--
1.9.1
More information about the mesa-dev
mailing list