projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590ba15
)
iris: reorder arguments as expected by the function
author
Tapani Pälli
<tapani.palli@intel.com>
Mon, 12 Aug 2019 07:44:41 +0000
(10:44 +0300)
committer
Tapani Pälli
<tapani.palli@intel.com>
Mon, 12 Aug 2019 10:08:26 +0000
(13:08 +0300)
CID: 1452262
Fixes:
b4c54894bba
"iris: Handle vertex shader with window space position"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index
b6c9d18
..
921078b
100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-4373,9
+4373,9
@@
iris_upload_dirty_render_state(struct iris_context *ice,
GENX(CC_VIEWPORT_length), 32, &cc_vp_address);
for (int i = 0; i < ice->state.num_viewports; i++) {
float zmin, zmax;
- iris_viewport_zmin_zmax(&ice->state.viewports[i],
+ iris_viewport_zmin_zmax(&ice->state.viewports[i],
cso_rast->clip_halfz,
ice->state.window_space_position,
-
cso_rast->clip_halfz,
&zmin, &zmax);
+ &zmin, &zmax);
if (cso_rast->depth_clip_near)
zmin = 0.0;
if (cso_rast->depth_clip_far)