swr: calculate viewport width/height based on the scale
[mesa.git] / src / gallium / drivers / swr / swr_screen.h
index a96dc44cf664849193bee48871310bdb1a8a4450..0c82a2eff7a1c17536f5587d4b33a8c1cd9b6387 100644 (file)
@@ -32,6 +32,7 @@ struct sw_winsys;
 
 struct swr_screen {
    struct pipe_screen base;
+   struct pipe_context *pipe;
 
    struct pipe_fence_handle *flush_fence;