void trace_dump_template(const struct pipe_texture *templat)
{
- assert(templat);
if(!templat) {
trace_dump_null();
return;
void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_poly_stipple(const struct pipe_poly_stipple *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_viewport_state(const struct pipe_viewport_state *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_scissor_state(const struct pipe_scissor_state *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
{
unsigned i;
- assert(state);
if(!state) {
trace_dump_null();
return;
}
- trace_dump_struct_begin("pipe_scissor_state");
+ trace_dump_struct_begin("pipe_clip_state");
trace_dump_member_begin("ucp");
trace_dump_array_begin();
- for(i = 0; i < PIPE_MAX_CLIP_PLANES; ++i)
+ for(i = 0; i < PIPE_MAX_CLIP_PLANES; ++i) {
+ trace_dump_elem_begin();
trace_dump_array(float, state->ucp[i], 4);
+ trace_dump_elem_end();
+ }
trace_dump_array_end();
trace_dump_member_end();
void trace_dump_constant_buffer(const struct pipe_constant_buffer *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_shader_state(const struct pipe_shader_state *state)
{
static char str[8192];
- assert(state);
+
if(!state) {
trace_dump_null();
return;
{
unsigned i;
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_blend_state(const struct pipe_blend_state *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_blend_color(const struct pipe_blend_color *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_sampler_state(const struct pipe_sampler_state *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_surface(const struct pipe_surface *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_vertex_buffer(const struct pipe_vertex_buffer *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;
void trace_dump_vertex_element(const struct pipe_vertex_element *state)
{
- assert(state);
if(!state) {
trace_dump_null();
return;