| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixes:
glsl1-discard statement in for loop
glsl-fs-loop-two-counter-02
glsl-fs-loop-two-counter-04
|
|
|
|
|
|
|
| |
Fixes these tests using gl_FragData or just gl_FragDepth:
glsl1-Preprocessor test (extension test 1)
glsl1-Preprocessor test (extension test 2)
glsl-bug-22603
|
|
|
|
|
|
|
| |
This is the first time these payload bits have made sense to me,
outside of brw_wm_pass* structure.
Fixes: glsl1-gl_FragDepth writing
|
|
|
|
|
|
| |
This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f.
Fixes MinGW SCons build.
|
|
|
|
| |
+10 piglits
|
| |
|
|
|
|
| |
Fixes 7 piglit cases.
|
|
|
|
|
|
| |
Fixes:
glsl1-gl_FrontFacing var (1)
glsl1-gl_FrontFacing var (2)
|
|
|
|
|
| |
I confused the array sizing for number of files for the number of regs
in a file.
|
|
|
|
|
| |
This apparently had never been tested elsewhere before being merged to
master.
|
|
|
|
| |
Fixes 16 piglit cases.
|
|
|
|
| |
Fixes: glsl1-struct(2)
|
|
|
|
|
|
|
|
|
|
| |
We don't set the type on the array virtual reg as a whole, so here's
the right place.
Fixes:
glsl1-GLSL 1.20 arrays
glsl1-temp array with constant indexing, fragment shader
glsl1-temp array with swizzled variable indexing
|
|
|
|
|
|
| |
We need to re-run channel expressions afterwards as it generates new
vector expressions, and we need to successfully support conditional
assignment (brw_CMP takes 2 operands, not 1).
|
| |
|
|
|
|
|
|
|
|
| |
While much of this we will want to support natively, this should make
the task of reaching the Mesa IR backend's quality easier.
Fixes:
glsl-fs-main-return.
|
|
|
|
|
| |
Fixes:
glsl-fs-if-nested-loop.
|
|
|
|
|
|
| |
Fixes:
glsl1-Negation
glsl1-Negation2
|
|
|
|
|
| |
Need to bring back correct fb write with header to set pixel
write mask. Fallback for now.
|
|
|
|
| |
Fix pipe control command for depth stall and PS_DEPTH_COUNT write.
|
|
|
|
| |
Need to set point sprite function in fixed SF state now on sandybridge.
|
|
|
|
|
| |
Fix incorrect scissor rect struct and missed scissor state pointer
setting for sandybridge.
|
|
|
|
| |
Depth offset function is moved to SF stage on sandybridge.
|
| |
|
|
|
|
| |
Sandybridge doesn't have Xstart/Ystart in payload header.
|
|
|
|
| |
Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
|
|
|
|
|
| |
Must issue a pipe control with any non-zero post sync op before
write cache flush = 1 pipe control.
|
| |
|
|
|
|
|
|
|
| |
Sandybridge's PS constant buffer payload size is decided from
push const buffer command, incorrect size would cause wrong data
in payload for position and vertex attributes. This fixes coefficients
for tex2d/tex3d.
|
|
|
|
| |
Sandybridge has not much change on texture sampler with Ironlake.
|
|
|
|
|
| |
Jump count is for 64bit long each, so one instruction requires 2
like on Ironlake.
|
|
|
|
| |
Until conditional instructions were fixed, use SPF mode instead for now.
|
| |
|
|
|
|
|
| |
Sandybridge's VF would convert quads to polygon which not required
for GS then. Current GS state still would cause hang on lineloop.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Don't double store position in vertex attribute. This makes color
interpolation right by using barycentric coordinates.
|
|
|
|
| |
Accumulator update flag must be set for implicit update on sandybridge.
|
|
|
|
|
| |
Dump new state object on sandybridge for cc viewport, clip viewport,
depth stencil, cc and blend state.
|
| |
|
|
|
|
| |
Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode.
|
|
|
|
|
|
| |
Sending down data that doesn't get read doesn't make any sense, and
would make handling things like gl_FrontFacing and gl_PointCoord
harder.
|
|
|
|
|
| |
Things are simpler these days thanks to barycentric interpolation
parameters being handed in in the payload.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rc_for_all_reads_src() and rc_pair_for_all_reads_arg() pass references to
instruction sources to the callback so they can be modified directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The driver actually creates a 3D texture aligned to POT and does all
the magic with texture coordinates in the fragment shader. It first
emulates REPEAT and MIRRORED wrap modes in the fragment shader to get
the coordinates into the range [0, 1]. (already done for 2D NPOT)
Then it scales them to get the coordinates of the NPOT subtexture.
NPOT textures are now less of a lie and we can at least display
something meaningful even for the 3D ones.
Supported wrap modes:
- REPEAT
- MIRRORED_REPEAT
- CLAMP_TO_EDGE (NEAREST filtering only)
- MIRROR_CLAMP_TO_EDGE (NEAREST filtering only)
- The behavior of other CLAMP modes is undefined on borders, but they usually
give results very close to CLAMP_TO_EDGE with mirroring working perfectly.
This fixes:
- piglit/fbo-3d
- piglit/tex3d-npot
|