Fix uninitialized scalar variable defects reported by Coverity.
Signed-off-by: Vinson Lee
---
src/gallium/auxiliary/vl/vl_vertex_buffers.c |4
1 file changed, 4 insertions(+)
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.c
b/src/gallium/auxiliary/vl/vl_vertex_buffers.c
index
---
src/mesa/state_tracker/st_cb_bufferobjects.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 6534a43..b47a2d8 100644
--- a/src/mesa/state_tracker/st_cb_bufferobjects.c
On Sun, May 13, 2012 at 04:10:50PM +0200, Francisco Jerez wrote:
> Tom Stellard writes:
>
> > On Sun, May 13, 2012 at 12:40:43AM +0200, Francisco Jerez wrote:
> >>[...]
> >> I can think of two different ways this could work (your solution would
> >> be somewhere in between):
> >>
> >> - The r60
Tom Stellard writes:
> On Sun, May 13, 2012 at 12:40:43AM +0200, Francisco Jerez wrote:
>>[...]
>> I can think of two different ways this could work (your solution would
>> be somewhere in between):
>>
>> - The r600g LLVM back-end could support some well-defined output object
>>format (e.g.
If the primitive restart index and the primitive type can
be handled by the cut index feature, then use the hardware
to handle the primitive restart feature.
The VBO module's software handling of primitive restart is
used as a fall back.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i96
When brw->prim_restart.enable_cut_index is set, the cut index
will be enabled when uploading index_buffer commands.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.c |1 +
src/mesa/drivers/dri/i965/brw_context.h |1 +
src/mesa/drivers/dri/i965/brw_defines.h
For newer hardware we disable the VBO module's software handling
of primitive restart. We now handle primitive restarts in
brw_handle_primitive_restart.
The initial version of brw_handle_primitive_restart simply calls
vbo_sw_primitive_restart, and therefore still uses the VBO
module software primi
Sets Const.PrimitiveRestartInSoftware to enable primitive
restarts to be handled in software.
Sets Extensions.NV_primitive_restart to declare driver support
for the primitive restart extension.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/intel/intel_extensions.c |3 +++
1 file cha
Note: This changeset depends on my other changeset:
"move software primitive restart into VBO module"
v1:
* Enable NV_primitive_restart for all hardware. (Software primitive
restart is used where necessary)
* If hardware supports cut index and cut index can handle the
primitive resta
The VBO module now can handle primitive restart in software
if required.
Signed-off-by: Jordan Justen
---
src/mesa/state_tracker/st_context.h|1 -
src/mesa/state_tracker/st_extensions.c |1 -
2 files changed, 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_context.h
b/src/mes
The VBO module now can handle primitive restart in software
if required. Therefore this support is no londer required.
Signed-off-by: Jordan Justen
---
src/mesa/state_tracker/st_draw.c | 180 +-
1 file changed, 2 insertions(+), 178 deletions(-)
diff --git a/
If the PIPE_CAP_PRIMITIVE_RESTART screen param is not set, then enable
PrimitiveRestartInSoftware to enable software primitive restart
support in the VBO module.
Signed-off-by: Jordan Justen
---
src/mesa/state_tracker/st_extensions.c |1 +
1 file changed, 1 insertion(+)
diff --git a/src/mes
When PrimitiveRestartInSoftware is set, the VBO module will handle
primitive restart scenarios before calling the vbo->draw_prims
drawing function.
Signed-off-by: Jordan Justen
---
src/mesa/vbo/vbo_exec_array.c | 35 +--
1 file changed, 29 insertions(+), 6 delet
If set, then the VBO module will handle all primitive
restart scenarios before calling the driver draw_prims.
Software primitive restart support is disabled by default.
Signed-off-by: Jordan Justen
---
src/mesa/main/context.c |3 +++
src/mesa/main/mtypes.h |5 +
2 files changed, 8
vbo_sw_primitive_restart implements primitive restart in software
by splitting primitive draws apart.
This is based on similar support in mesa/state_tracker/st_draw.c.
Signed-off-by: Jordan Justen
---
src/mesa/SConscript |1 +
src/mesa/sources.mak |1 +
v2:
* change non-gallium drivers to not enable NV_primitive_restart
by default. (this matches the current mesa behavior.)
* gallium drivers will continue to use software primitivie restart
where needed and will always declare the NV_primitive_restart
extension. (this matches the current
https://bugs.freedesktop.org/show_bug.cgi?id=49862
ojab changed:
What|Removed |Added
Attachment #61546|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=49862
Bug #: 49862
Summary: Build error due to `-Wcovered-switch-default ` in
LLVM_CFLAGS unrecognized by gcc
Classification: Unclassified
Product: Mesa
Version: git
Platfor
Fix uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee
---
src/glsl/lower_vector.cpp |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp
index 57963a1..6f031d5 100644
--- a/src/glsl/lower_vect
19 matches
Mail list logo